• S
    CompactedDB should not be used if there is outstanding WAL files · ac0e54b4
    sdong 提交于
    Summary: CompactedDB skips memtable. So we shouldn't use compacted DB if there is outstanding WAL files.
    
    Test Plan: Change to options.max_open_files = -1 perf context test to create a compacted DB, which we shouldn't do.
    
    Reviewers: yhchiang, kradhakrishnan, IslamAbdelRahman
    
    Reviewed By: IslamAbdelRahman
    
    Subscribers: leveldb, andrewkr, dhruba
    
    Differential Revision: https://reviews.facebook.net/D57057
    ac0e54b4
compacted_db_impl.cc 5.4 KB