rocksdb/utilities/transactions
Manuel Ung be1f1092c9 Expose transaction id, lock state information and transaction wait information
Summary:
This diff does 3 things:

Expose TransactionID so that we can identify transactions when we retrieve locking and lock wait information. This is exposed as `Transaction::GetID`.

Expose lock state information by locking all stripes in all column families and copying their contents to a data structure. This is exposed as `TransactionDB::GetLockStatusData`.

Adds support for tracking the transaction and the key being waited on, and exposes this as `Transaction::GetWaitingTxn`.

Test Plan: unit tests

Reviewers: horuff, sdong

Reviewed By: sdong

Subscribers: vasilep, hermanlee4, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D64413
2016-09-30 11:41:21 -07:00
..
optimistic_transaction_db_impl.cc optimistic transactions support for reinitialization 2016-03-07 19:03:09 -08:00
optimistic_transaction_db_impl.h optimistic transactions support for reinitialization 2016-03-07 19:03:09 -08:00
optimistic_transaction_impl.cc [rocksdb] Two Phase Transaction 2016-05-10 14:06:07 -07:00
optimistic_transaction_impl.h [rocksdb] Two Phase Transaction 2016-05-10 14:06:07 -07:00
optimistic_transaction_test.cc Fix AppVeyor build error 2016-03-15 10:57:33 -07:00
transaction_base.cc [rocksdb] Two Phase Transaction 2016-05-10 14:06:07 -07:00
transaction_base.h make transaction WriteOptions modifiable 2016-06-27 12:53:30 -07:00
transaction_db_impl.cc Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_db_impl.h Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_db_mutex_impl.cc Fix transaction locking 2016-02-16 17:15:05 -08:00
transaction_db_mutex_impl.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
transaction_impl.cc Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_impl.h Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_lock_mgr.cc Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_lock_mgr.h Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_test.cc Expose transaction id, lock state information and transaction wait information 2016-09-30 11:41:21 -07:00
transaction_util.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
transaction_util.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00