rocksdb/utilities/transactions
Maysam Yabandeh 09713a64b3 WritePrepared Txn: Lock-free CommitMap
Summary:
We had two proposals for lock-free commit maps. This patch implements the latter one that was simpler. We can later experiment with both proposals.

In this impl each entry is an std::atomic of uint64_t, which are accessed via memory_order_acquire/release. In x86_64 arch this is compiled to simple reads and writes from memory.
Closes https://github.com/facebook/rocksdb/pull/2861

Differential Revision: D5800724

Pulled By: maysamyabandeh

fbshipit-source-id: 41abae9a4a5df050a8eb696c43de11c2770afdda
2017-09-13 12:12:11 -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
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
pessimistic_transaction_db.cc WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
pessimistic_transaction_db.h WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
pessimistic_transaction.cc WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
pessimistic_transaction.h WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
transaction_base.cc Use PinnableSlice in Transactions 2017-08-23 10:11:45 -07:00
transaction_base.h Use PinnableSlice in Transactions 2017-08-23 10:11:45 -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 Add more unit test to write_prepared txns 2017-08-31 09:41:27 -07:00
transaction_test.h Add more unit test to write_prepared txns 2017-08-31 09:41:27 -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: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
write_prepared_txn.cc WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
write_prepared_txn.h WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00