rocksdb/utilities
Andrew Kryczka d659faad54 Level-based L0->L0 compaction
Summary:
Level-based L0->L0 compaction operates on spans of files that aren't currently being compacted. It reduces the number of L0 files, thus making write stall conditions harder to reach.

- L0->L0 is triggered when base level is unavailable due to pending compactions
- L0->L0 always outputs one file of at most `max_level0_burst_file_size` bytes.
- Subcompactions are disabled for L0->L0 since we want to output one file.
- Input files are chosen as the longest span of available files that will fit within the size limit. This minimizes number of files in L0.
Closes https://github.com/facebook/rocksdb/pull/2027

Differential Revision: D4760318

Pulled By: ajkr

fbshipit-source-id: 9d07183
2017-04-04 18:09:11 -07:00
..
2017-04-04 18:09:11 -07:00
2017-03-30 16:54:52 -07:00
2017-02-13 11:09:13 -08:00
2015-12-10 21:32:45 -05:00
2016-12-22 13:09:19 -08:00
2017-04-04 11:24:12 -07:00
2017-04-04 11:24:12 -07:00