• Wu Jiayu's avatar
    Implement basic range merge to maintain last level sorted run number (#92) · e8bc9254
    Wu Jiayu authored
    With level merge enabled, we expect there are no more than 10 sorted runs of blob files in both of last two levels. But 
    
    - Since we force using level_compaction_dynamic_level_bytes, last level blob files won't be merged again, sorted run number in last level will increase infinitely.
    - Some hot range may contain more sorted runs.
    
    This patch implement range merge:
    
    - Check sorted run number of compaction range after last level compaction
    - Mark blob files to merge in next compaction if sorted run number > max_sorted_runs
    e8bc9254
Name
Last commit
Last update
cmake Loading commit data...
include/titan Loading commit data...
scripts Loading commit data...
src Loading commit data...
tools Loading commit data...
util Loading commit data...
.clion.source.upload.marker Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
codecov.yml Loading commit data...