• D
    enhance dbstress to simulate hard crash · 62e7583f
    Dhruba Borthakur 提交于
    Summary:
    dbstress has an option to reopen the database. Make it such that the
    previous handle is not closed before we reopen, this simulates a
    situation similar to a process crash.
    
    Added new api to DMImpl to remove the lock file.
    
    Test Plan: run db_stress
    
    Reviewers: emayanke
    
    Reviewed By: emayanke
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D6777
    62e7583f
db_impl.cc 65.9 KB