Skip to content

Commit 3497b1b

Browse files
authored
Merge 229d0c5 into 3fb7fa2
2 parents 3fb7fa2 + 229d0c5 commit 3497b1b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,14 @@ bool TBlobManager::LoadState(IBlobManagerDb& db, const TTabletId selfTabletId) {
140140
if (!db.LoadLastGcBarrier(LastCollectedGenStep)) {
141141
return false;
142142
}
143-
if (!db.LoadGCBarrierPreparation(GCBarrierPreparation)) {
143+
//https://github.com/ydb-platform/ydb/issues/7468
144+
TGenStep storedGCBarrierPreparation;
145+
if (!db.LoadGCBarrierPreparation(storedGCBarrierPreparation)) {
144146
return false;
145147
}
148+
if (storedGCBarrierPreparation < LastCollectedGenStep) {
149+
AFL_WARN(NKikimrServices::TX_COLUMNSHARD_BLOBS_BS)("mem_genstep", GCBarrierPreparation)("last_genstep", LastCollectedGenStep)("db_genstep", storedGCBarrierPreparation);
150+
}
146151
AFL_VERIFY(!GCBarrierPreparation.Generation() || LastCollectedGenStep <= GCBarrierPreparation)("prepared", GCBarrierPreparation)("last", LastCollectedGenStep);
147152

148153
// Load the keep and delete queues

0 commit comments

Comments
 (0)