Skip to content

Commit ebb5c19

Browse files
fix tierings db usage (#1691)
* fix tierings db usage * fix
1 parent 3648841 commit ebb5c19

File tree

1 file changed

+2
-2
lines changed
  • ydb/core/tx/columnshard/blobs_action/tier

1 file changed

+2
-2
lines changed

ydb/core/tx/columnshard/blobs_action/tier/gc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ void TGCTask::DoOnExecuteTxAfterCleaning(NColumnShard::TColumnShard& /*self*/, N
99
size_t numBlobs = 0;
1010

1111
for (; DraftBlobIds.size() && numBlobs < NColumnShard::TLimits::MAX_BLOBS_TO_DELETE; ++numBlobs) {
12-
dbBlobs.EraseBlobToKeep(DraftBlobIds.front());
12+
dbBlobs.RemoveTierDraftBlobId(GetStorageId(), DraftBlobIds.front());
1313
DraftBlobIds.pop_front();
1414
}
1515

1616
for (; DeleteBlobIds.size() && numBlobs < NColumnShard::TLimits::MAX_BLOBS_TO_DELETE; ++numBlobs) {
17-
dbBlobs.EraseBlobToDelete(DeleteBlobIds.front());
17+
dbBlobs.RemoveTierBlobToDelete(GetStorageId(), DeleteBlobIds.front());
1818
DeleteBlobIds.pop_front();
1919
}
2020
}

0 commit comments

Comments
 (0)