• H
    [RocksDB] Remove Log file immediately after memtable flush · 0e422308
    Haobo Xu 提交于
    Summary: As title. The DB log file life cycle is tied up with the memtable it backs. Once the memtable is flushed to sst and committed, we should be able to delete the log file, without holding the mutex. This is part of the bigger change to avoid FindObsoleteFiles at runtime. It deals with log files. sst files will be dealt with later.
    
    Test Plan: make check; db_bench
    
    Reviewers: dhruba
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D11709
    0e422308
memtable.h 5.1 KB