Skip to content

Commit

Permalink
fix compaction levels constuction (ydb-platform#12351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored and zverevgeny committed Jan 8, 2025
1 parent 89fd39c commit 2bf13c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ TOptimizerPlanner::TOptimizerPlanner(const ui64 pathId, const std::shared_ptr<IS
for (auto it = levelConstructors.rbegin(); it != levelConstructors.rend(); ++it) {
--idx;
Levels.emplace_back((*it)->BuildLevel(nextLevel, idx, Counters->GetLevelCounters(idx)));
nextLevel = Levels.back();
}
} else {
Levels.emplace_back(std::make_shared<TZeroLevelPortions>(2, nullptr, Counters->GetLevelCounters(2), TDuration::Max(), 1 << 20));
Expand Down

0 comments on commit 2bf13c5

Please sign in to comment.