rocksdb/utilities/transactions
Maysam Yabandeh 0377ff9dea WritePrepared Txn: make recoverable state visible after flush
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
2018-03-28 12:12:08 -07:00
..
optimistic_transaction.cc
optimistic_transaction.h
optimistic_transaction_db_impl.cc
optimistic_transaction_db_impl.h
optimistic_transaction_test.cc
pessimistic_transaction.cc
pessimistic_transaction.h
pessimistic_transaction_db.cc
pessimistic_transaction_db.h
snapshot_checker.cc
transaction_base.cc
transaction_base.h
transaction_db_mutex_impl.cc
transaction_db_mutex_impl.h
transaction_lock_mgr.cc
transaction_lock_mgr.h
transaction_test.cc
transaction_test.h
transaction_util.cc
transaction_util.h
write_prepared_transaction_test.cc
write_prepared_txn.cc
write_prepared_txn.h
write_prepared_txn_db.cc
write_prepared_txn_db.h