justinethier / keyva

:key: A distributed key-value store
MIT License
26 stars 2 forks source link

Limit the number of SST levels #17

Closed justinethier closed 2 years ago

justinethier commented 2 years ago

Need to cap the number of levels. If a merge occurs at the top level it results in compacting the data in that level rather than creating a new level.

This can be a configuration item when creating a new LSM tree.

justinethier commented 2 years ago

This is now configurable via MergeSettings.MaxLevels.