• M
    WritePrepared Txn: make recoverable state visible after flush · 0377ff9d
    Maysam Yabandeh 提交于
    Summary:
    Currently if the CommitTimeWriteBatch is set to be used only as a state that is required only for recovery , the user cannot see that in DB until it is restarted. This while the state is already inserted into the DB after the memtable flush. It would be useful for debugging if make this state visible to the user after the flush by committing it. The patch does it by a invoking a callback that does the commit on the recoverable state.
    Closes https://github.com/facebook/rocksdb/pull/3661
    
    Differential Revision: D7424577
    
    Pulled By: maysamyabandeh
    
    fbshipit-source-id: 137f9408662f0853938b33fa440f27f04c1bbf5c
    0377ff9d
db_impl.h 60.0 KB