summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_participant.h
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2018-08-08 23:31:30 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2018-08-13 15:13:20 -0400
commit3fc7971ea53270cccf5bf164862186e19de9a185 (patch)
tree86e6bb2878be5eee026916a5fd57b4ad054372dd /src/mongo/db/transaction_participant.h
parent8042b45e968cd338d807f77eba029dd17decd901 (diff)
downloadmongo-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.h5
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.