• H
    [RocksDB] Universal compaction trigger condition minor fix · 1d8c57db
    Haobo Xu 提交于
    Summary: Currently, when total number of files reaches level0_file_num_compaction_trigger, universal compaction will schedule a compaction job, but the job will not honor the compaction until the total number of files is level0_file_num_compaction_trigger+1. Fixed the condition for consistent behavior (start compaction on reaching level0_file_num_compaction_trigger).
    
    Test Plan: make check; db_stress
    
    Reviewers: dhruba
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D12945
    1d8c57db
version_set.cc 101.2 KB