• D
    This is the mega-patch multi-threaded compaction · 1ca05843
    Dhruba Borthakur 提交于
    published in https://reviews.facebook.net/D5997.
    
    Summary:
    This patch allows compaction to occur in multiple background threads
    concurrently.
    
    If a manual compaction is issued, the system falls back to a
    single-compaction-thread model. This is done to ensure correctess
    and simplicity of code. When the manual compaction is finished,
    the system resumes its concurrent-compaction mode automatically.
    
    The updates to the manifest are done via group-commit approach.
    
    Test Plan: run db_bench
    1ca05843
db_bench.cc 42.5 KB