rocksdb/utilities/transactions
Maysam Yabandeh a6d3c762df WritePrepared Txn: non-2pc write in one round
Summary:
Currently non-2pc writes do the 2nd dummy write to actually commit the transaction. This was necessary to ensure that publishing the commit sequence number will be done only from one queue (the queue that does not write to memtable). This is however not necessary when we have only one write queue, which is actually the setup that would be used by non-2pc writes. This patch eliminates the 2nd write when two_write_queues are disabled by updating the commit map in the 1st write.
Closes https://github.com/facebook/rocksdb/pull/3277

Differential Revision: D6575392

Pulled By: maysamyabandeh

fbshipit-source-id: 8ab458f7ca506905962f9166026b2ec81e749c46
2017-12-18 08:19:43 -08: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: PreReleaseCallback 2017-11-30 23:50:45 -08:00
pessimistic_transaction.h WritePrepared Txn: Refactoring TrackKeys 2017-11-11 13:14:20 -08:00
pessimistic_transaction_db.cc WritePrepared Txn: Refactor conf params 2017-11-10 17:28:12 -08:00
pessimistic_transaction_db.h WritePrepared Txn: Move DB class to its own file 2017-11-02 11:14:30 -07:00
snapshot_checker.cc WritePrepared Txn: Move DB class to its own file 2017-11-02 11:14:30 -07:00
transaction_base.cc WritePrepared Txn: Refactoring TrackKeys 2017-11-11 13:14:20 -08:00
transaction_base.h WritePrepared Txn: Refactoring TrackKeys 2017-11-11 13:14:20 -08: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 Add lock wait time as a perf context counter 2017-11-06 10:57:19 -08:00
transaction_lock_mgr.h Added mechanism to track deadlock chain 2017-08-17 18:56:21 -07:00
transaction_test.cc WritePrepared Txn: stress test 2017-12-06 09:42:28 -08:00
transaction_test.h WritePrepared Txn: non-2pc write in one round 2017-12-18 08:19:43 -08:00
transaction_util.cc WritePrepared Txn: ValidateSnapshot 2017-11-01 19:11:09 -07:00
transaction_util.h WritePrepared Txn: ValidateSnapshot 2017-11-01 19:11:09 -07:00
write_prepared_transaction_test.cc WritePrepared Txn: non-2pc write in one round 2017-12-18 08:19:43 -08:00
write_prepared_txn.cc WritePrepared Txn: non-2pc write in one round 2017-12-18 08:19:43 -08:00
write_prepared_txn.h WritePrepared Txn: PreReleaseCallback 2017-11-30 23:50:45 -08:00
write_prepared_txn_db.cc WritePrepared Txn: GC old_commit_map_ 2017-12-13 07:57:43 -08:00
write_prepared_txn_db.h WritePrepared Txn: non-2pc write in one round 2017-12-18 08:19:43 -08:00