Skip to content

Commit f01937f

Browse files
committed
fix condition
1 parent a5fb711 commit f01937f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/columnshard/blobs_action/bs/blob_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ bool TBlobManager::LoadState(IBlobManagerDb& db, const TTabletId selfTabletId) {
145145
if (!db.LoadGCBarrierPreparation(storedGCBarrierPreparation)) {
146146
return false;
147147
}
148-
if (storedGCBarrierPreparation != GCBarrierPreparation) {
148+
if (storedGCBarrierPreparation < LastCollectedGenStep) {
149149
AFL_WARN(NKikimrServices::TX_COLUMNSHARD_BLOBS_BS)("mem_genstep", GCBarrierPreparation)("db_genstep", storedGCBarrierPreparation);
150150
}
151151
AFL_VERIFY(!GCBarrierPreparation.Generation() || LastCollectedGenStep <= GCBarrierPreparation)("prepared", GCBarrierPreparation)("last", LastCollectedGenStep);

0 commit comments

Comments
 (0)