rocksdb/utilities/transactions
Yi Wu 17c6325e8a WritePrepare Txn: Cancel flush/compaction before destruction
Summary:
On WritePreparedTxnDB destruct there could be running compaction/flush holding a SnapshotChecker, which holds a pointer back to WritePreparedTxnDB. Make sure those jobs finished before destructing WritePreparedTxnDB.

This is caught by TransactionTest::SeqAdvanceTest.
Closes https://github.com/facebook/rocksdb/pull/2982

Differential Revision: D6002957

Pulled By: yiwu-arbug

fbshipit-source-id: f1e70390c9798d1bd7959f5c8e2a1c14100773c3
2017-10-06 20:55:53 -07:00
..
optimistic_transaction.cc Update WritePrepared with the pseudo code 2017-08-16 16:57:47 -07:00
optimistic_transaction.h Update WritePrepared with the pseudo code 2017-08-16 16:57:47 -07:00
optimistic_transaction_db_impl.cc Refactor PessimisticTransaction 2017-08-07 16:12:29 -07:00
optimistic_transaction_db_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
pessimistic_transaction.cc WritePrepared Txn: Rollback 2017-10-02 19:59:27 -07:00
pessimistic_transaction.h WritePrepared Txn: Rollback 2017-10-02 19:59:27 -07:00
pessimistic_transaction_db.cc WritePrepare Txn: Cancel flush/compaction before destruction 2017-10-06 20:55:53 -07:00
pessimistic_transaction_db.h WritePrepare Txn: Cancel flush/compaction before destruction 2017-10-06 20:55:53 -07:00
snapshot_checker.cc WritePrepared Txn: Compaction/Flush 2017-10-06 10:41:53 -07:00
transaction_base.cc WritePrepared Txn: end-to-end tests 2017-10-06 14:26:45 -07:00
transaction_base.h Add TransactionDB::SingleDelete() 2017-09-27 10:27:26 -07:00
transaction_db_mutex_impl.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db_mutex_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_lock_mgr.cc Added mechanism to track deadlock chain 2017-08-17 18:56:21 -07:00
transaction_lock_mgr.h Added mechanism to track deadlock chain 2017-08-17 18:56:21 -07:00
transaction_test.cc WritePrepared Txn: end-to-end tests 2017-10-06 14:26:45 -07:00
transaction_test.h WritePrepared Txn: end-to-end tests 2017-10-06 14:26:45 -07:00
transaction_util.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00
write_prepared_transaction_test.cc WritePrepared Txn: end-to-end tests 2017-10-06 14:26:45 -07:00
write_prepared_txn.cc WritePrepared Txn: end-to-end tests 2017-10-06 14:26:45 -07:00
write_prepared_txn.h WritePrepared Txn: Rollback 2017-10-02 19:59:27 -07:00