aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilnaz <ilnaz@ydb.tech>2023-07-06 15:07:22 +0300
committerilnaz <ilnaz@ydb.tech>2023-07-06 15:07:22 +0300
commit3c97664a582dc7662c4fdf59b473f02930aa84f6 (patch)
tree211ffd5535d85b8ccbcc6905204a1ad3153ddc13
parentbb30ab7a23c89a26e3663cbecc398decc46c7d93 (diff)
downloadydb-3c97664a582dc7662c4fdf59b473f02930aa84f6.tar.gz
Epmty enqueued records upon activation KIKIMR-18159
-rw-r--r--ydb/core/tx/datashard/change_sender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/change_sender.cpp b/ydb/core/tx/datashard/change_sender.cpp
index cd751fb1a9..fee83a3dc2 100644
--- a/ydb/core/tx/datashard/change_sender.cpp
+++ b/ydb/core/tx/datashard/change_sender.cpp
@@ -160,7 +160,7 @@ class TChangeSender: public TActor<TChangeSender> {
}
if (Enqueued) {
- Handle(std::move(Enqueued));
+ Handle(std::exchange(Enqueued, {}));
}
}