diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2018-08-08 23:31:30 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2018-08-13 15:13:20 -0400 |
commit | 3fc7971ea53270cccf5bf164862186e19de9a185 (patch) | |
tree | 86e6bb2878be5eee026916a5fd57b4ad054372dd /src/mongo/db/transaction_participant.h | |
parent | 8042b45e968cd338d807f77eba029dd17decd901 (diff) | |
download | mongo-3fc7971ea53270cccf5bf164862186e19de9a185.tar.gz |
SERVER-36421 Keep being InProgress when writing oplog entry for unprepared commit.
Diffstat (limited to 'src/mongo/db/transaction_participant.h')
-rw-r--r-- | src/mongo/db/transaction_participant.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/transaction_participant.h b/src/mongo/db/transaction_participant.h index b322cfe009b..38fae7a0366 100644 --- a/src/mongo/db/transaction_participant.h +++ b/src/mongo/db/transaction_participant.h @@ -375,11 +375,6 @@ public: _txnState.transitionTo(lk, TransactionState::kPrepared); } - void transitionToCommittingforTest() { - stdx::lock_guard<stdx::mutex> lk(_mutex); - _txnState.transitionTo(lk, TransactionState::kCommittingWithoutPrepare); - } - /** * Checks to see if the txnNumber changed in the parent session and perform the necessary * cleanup. |