rocksdb/utilities/transactions
agiardullo 5e94f68f35 TransactionDB Custom Locking API
Summary:
Prototype of API to allow MyRocks to override default Mutex/CondVar used by transactions with their own implementations.  They would simply need to pass their own implementations of Mutex/CondVar to the templated TransactionDB::Open().

Default implementation of TransactionDBMutex/TransactionDBCondVar provided (but the code is not currently changed to use this).

Let me know if this API makes sense or if it should be changed

Test Plan: n/a

Reviewers: yhchiang, rven, igor, sdong, spetrunia

Reviewed By: spetrunia

Subscribers: maykov, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D43761
2015-09-08 17:03:57 -07:00
..
optimistic_transaction_db_impl.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_db_impl.h Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_impl.cc Common base class for transactions 2015-08-24 19:09:43 -07:00
optimistic_transaction_impl.h Common base class for transactions 2015-08-24 19:09:43 -07:00
optimistic_transaction_test.cc Have Transactions use WriteBatch::RollbackToSavePoint 2015-08-11 17:53:30 -07:00
transaction_base.cc Common base class for transactions 2015-08-24 19:09:43 -07:00
transaction_base.h Add SetLockTimeout for Transactions 2015-09-02 20:07:19 -07:00
transaction_db_impl.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_db_impl.h Pessimistic Transactions 2015-08-11 17:52:23 -07:00
transaction_db_mutex_impl.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_db_mutex_impl.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_impl.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_impl.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_lock_mgr.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_lock_mgr.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_test.cc Add SetLockTimeout for Transactions 2015-09-02 20:07:19 -07:00
transaction_util.cc Have Transactions use WriteBatch::RollbackToSavePoint 2015-08-11 17:53:30 -07:00
transaction_util.h Have Transactions use WriteBatch::RollbackToSavePoint 2015-08-11 17:53:30 -07:00