aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexvru <alexvru@ydb.tech>2023-08-28 13:58:57 +0300
committeralexvru <alexvru@ydb.tech>2023-08-28 14:49:13 +0300
commitdf5cf9f2256d461b65cd53f459dc40d7279bc98b (patch)
treeea4742dd35100aee1245ee4bd89b74bf66cb9a49
parent369a4c84d9f01bc45bc857c059e1bb4194842f4d (diff)
downloadydb-df5cf9f2256d461b65cd53f459dc40d7279bc98b.tar.gz
Fix KV initial garbage collection logic KIKIMR-19154
-rw-r--r--ydb/core/keyvalue/keyvalue_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/keyvalue/keyvalue_state.cpp b/ydb/core/keyvalue/keyvalue_state.cpp
index 2b014a12e6..2faf3f3d5e 100644
--- a/ydb/core/keyvalue/keyvalue_state.cpp
+++ b/ydb/core/keyvalue/keyvalue_state.cpp
@@ -613,7 +613,7 @@ void TKeyValueState::InitExecute(ui64 tabletId, TActorId keyValueActorId, ui32 e
const ui32 step = TEvBlobStorage::TEvCollectGarbage::PerGenerationCounterStepSize(keep.Get(), nullptr);
auto ev = MakeHolder<TEvBlobStorage::TEvCollectGarbage>(info->TabletID, executorGeneration,
PerGenerationCounter, channel, true /*collect*/, barrierGeneration, barrierStep, keep.Release(),
- nullptr /*doNotKeep*/, TInstant::Max(), false /*isMultiCollectAllowed*/, false /*hard*/);
+ nullptr /*doNotKeep*/, TInstant::Max(), true /*isMultiCollectAllowed*/, false /*hard*/);
PerGenerationCounter += step;
const TActorId nodeWarden = MakeBlobStorageNodeWardenID(ctx.SelfID.NodeId());