[PATCH] vinyl: do not apply run_count_per_level to the last level

Vladimir Davydov vdavydov.dev at gmail.com
Mon Nov 19 11:20:58 MSK 2018


On Sun, Nov 18, 2018 at 07:37:52PM +0300, Konstantin Osipov wrote:
> * Vladimir Davydov <vdavydov.dev at gmail.com> [18/11/17 07:05]:
> > 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.
> 
> OK to push.

Pushed to 1.10.



More information about the Tarantool-patches mailing list