[Commits] 756b3e44a: Added a comment in PessimisticTransactionDB::GetDeadlockInfoBuffer
revision-id: 756b3e44a8b7173993c0076a76c56c6a31d52a8b (v5.8-1022-g756b3e44a) parent(s): 51606993a6e04edfa32ba9ed445e47330a2b2647 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2018-12-10 22:54:44 +0300 message: Added a comment in PessimisticTransactionDB::GetDeadlockInfoBuffer --- utilities/transactions/pessimistic_transaction_db.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/transactions/pessimistic_transaction_db.cc b/utilities/transactions/pessimistic_transaction_db.cc index c5635cf05..425b3ba73 100644 --- a/utilities/transactions/pessimistic_transaction_db.cc +++ b/utilities/transactions/pessimistic_transaction_db.cc @@ -628,6 +628,8 @@ PessimisticTransactionDB::GetLockStatusData() { } std::vector<DeadlockPath> PessimisticTransactionDB::GetDeadlockInfoBuffer() { + // TODO: Here, we should get deadlock info from RangeLockMgr if we are using + // it. At the moment, it doesn't provide any deadlock information. return lock_mgr_.GetDeadlockInfoBuffer(); }
participants (1)
-
Sergei Petrunia