Skip to content

Commit a5fb711

Browse files
committed
log when differs
1 parent a7f31cd commit a5fb711

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

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

151153
// Load the keep and delete queues

0 commit comments

Comments
 (0)