Skip to content
Snippets Groups Projects
Commit 6dd0d2fb authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

vinyl: do not apply run_count_per_level to the last level

Currently, run_count_per_level index option is applied to each LSM tree
level. As a result, we may end up storing each key run_count_per_level
times at the last level alone, which would result in prohibitive space
amplification. To avoid that, let's ignore run_count_per_level for the
last level.

Note, we have to tweak quite a few vinyl tests, because they implicitly
relied on the fact that producing run_count_per_level dumps would never
trigger compaction.

Closes #3657
parent 10f4db86
No related branches found
No related tags found
No related merge requests found
Showing with 152 additions and 81 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment