diff options
author | alexvru <alexvru@ydb.tech> | 2023-07-27 18:14:02 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-07-27 18:14:02 +0300 |
commit | 154d4972020023e8b1c8bb3c060a87c1b43e38bc (patch) | |
tree | bf796a8e26051f10a024b5eff4b80234d86402e4 | |
parent | a26f0390ea55034bb3bcc6f4435e11936e817f47 (diff) | |
download | ydb-154d4972020023e8b1c8bb3c060a87c1b43e38bc.tar.gz |
Fix bug KIKIMR-11082
-rw-r--r-- | ydb/core/test_tablet/load_actor_read_validate.cpp | 4 |
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) { |