• M
    Don't always compress L0 files written by memtable flush · 50994bf6
    Mark Callaghan 提交于
    Summary:
    Code was always compressing L0 files written by a memtable flush
    when compression was enabled. Now this is done when
    min_level_to_compress=0 for leveled compaction and when
    universal_compaction_size_percent=-1 for universal compaction.
    
    Task ID: #3416472
    
    Blame Rev:
    
    Test Plan:
    ran db_bench with compression options
    
    Revert Plan:
    
    Database Impact:
    
    Memcache Impact:
    
    Other Notes:
    
    EImportant:
    
    - begin *PUBLIC* platform impact section -
    Bugzilla: #
    - end platform impact -
    
    Reviewers: dhruba, igor, sdong
    
    Reviewed By: dhruba
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D14757
    50994bf6
repair.cc 12.1 KB