aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexvru <alexvru@ydb.tech>2023-07-27 18:14:02 +0300
committeralexvru <alexvru@ydb.tech>2023-07-27 18:14:02 +0300
commit154d4972020023e8b1c8bb3c060a87c1b43e38bc (patch)
treebf796a8e26051f10a024b5eff4b80234d86402e4
parenta26f0390ea55034bb3bcc6f4435e11936e817f47 (diff)
downloadydb-154d4972020023e8b1c8bb3c060a87c1b43e38bc.tar.gz
Fix bug KIKIMR-11082
-rw-r--r--ydb/core/test_tablet/load_actor_read_validate.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/test_tablet/load_actor_read_validate.cpp b/ydb/core/test_tablet/load_actor_read_validate.cpp
index 0d4ea884717..ec0fad0d075 100644
--- a/ydb/core/test_tablet/load_actor_read_validate.cpp
+++ b/ydb/core/test_tablet/load_actor_read_validate.cpp
@@ -55,9 +55,11 @@ namespace NKikimr::NTestShard {
Y_VERIFY(self.WritesInFlight.empty());
Y_VERIFY(self.DeletesInFlight.empty());
Y_VERIFY(self.TransitionInFlight.empty());
- for (const auto& [key, info] : KeysBefore) {
+ for (auto& [key, info] : KeysBefore) {
Y_VERIFY(info.ConfirmedState == info.PendingState);
+ info.ConfirmedKeyIndex = Max<size_t>();
}
+ self.ConfirmedKeys.clear();
}
void Bootstrap(const TActorId& parentId) {