Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 committed May 31, 2024
1 parent d302109 commit 30d17d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ydb/core/tx/columnshard/normalizer/granule/clean_granule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ class TCleanGranuleIdNormalizer::TNormalizerResult : public INormalizerChanges {

std::vector<INormalizerChanges::TPtr> tasks;
ui64 fullChunksCount = 0;
THashSet<ui64> portionIds;
{
auto rowset = db.Table<Schema::IndexColumns>().Select();
if (!rowset.IsReady()) {
Expand All @@ -107,7 +106,6 @@ class TCleanGranuleIdNormalizer::TNormalizerResult : public INormalizerChanges {

while (!rowset.EndOfSet()) {
if (rowset.GetValue<Schema::IndexColumns::Granule>() || rowset.GetValue<Schema::IndexColumns::Index>()) {
AFL_VERIFY(portionIds.emplace(rowset.GetValue<Schema::IndexColumns::Portion>()).second);
TChunkData key(rowset);

changes->AddChunk(std::move(key));
Expand Down

0 comments on commit 30d17d5

Please sign in to comment.