Skip to content

Commit

Permalink
Merge f1f3afd into faf3e89
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Feb 8, 2024
2 parents faf3e89 + f1f3afd commit 4edb9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/core/tx/columnshard/blobs_action/tier/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ void TGCTask::DoOnExecuteTxAfterCleaning(NColumnShard::TColumnShard& /*self*/, N
size_t numBlobs = 0;

for (; DraftBlobIds.size() && numBlobs < NColumnShard::TLimits::MAX_BLOBS_TO_DELETE; ++numBlobs) {
dbBlobs.EraseBlobToKeep(DraftBlobIds.front());
dbBlobs.RemoveTierDraftBlobId(DraftBlobIds.front());
DraftBlobIds.pop_front();
}

for (; DeleteBlobIds.size() && numBlobs < NColumnShard::TLimits::MAX_BLOBS_TO_DELETE; ++numBlobs) {
dbBlobs.EraseBlobToDelete(DeleteBlobIds.front());
dbBlobs.RemoveTierBlobToDelete(DeleteBlobIds.front());
DeleteBlobIds.pop_front();
}
}
Expand Down

0 comments on commit 4edb9ea

Please sign in to comment.