• S
    Separate compaction filter for each compaction · 3b81df34
    sumeet 提交于
    Summary:
    If we have same compaction filter for each compaction,
    application cannot know about the different compaction processes.
    Later on, we can put in more details in compaction filter for the
    application to consume and use it according to its needs. For e.g. In
    the universal compaction, we have a compaction process involving all the
    files while others don't involve all the files. Applications may want to
    collect some stats only when during full compaction.
    
    Test Plan: run existing unit tests
    
    Reviewers: haobo, dhruba
    
    Reviewed By: dhruba
    
    CC: xinyaohu, leveldb
    
    Differential Revision: https://reviews.facebook.net/D12057
    3b81df34
db_test.cc 109.8 KB