Skip to content

Commit

Permalink
fix compaction levels constuction (#12351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Dec 6, 2024
1 parent b86caa5 commit 7a2b05c
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 7a2b05c

Please sign in to comment.