summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_validation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/transaction_validation.cpp')
-rw-r--r--src/mongo/db/transaction_validation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_validation.cpp b/src/mongo/db/transaction_validation.cpp
index c3d26da083b..dfd13ba85c4 100644
--- a/src/mongo/db/transaction_validation.cpp
+++ b/src/mongo/db/transaction_validation.cpp
@@ -68,8 +68,7 @@ const StringMap<int> sessionCheckOutList = {{"abortTransaction", 1},
{"update", 1}};
// Commands that can be sent with session info but should not check out a session.
-const StringMap<int> skipSessionCheckoutList = {
- {"coordinateCommitTransaction", 1}, {"voteAbortTransaction", 1}, {"voteCommitTransaction", 1}};
+const StringMap<int> skipSessionCheckoutList = {{"coordinateCommitTransaction", 1}};
bool commandCanCheckOutSession(StringData cmdName) {
return sessionCheckOutList.find(cmdName) != sessionCheckOutList.cend();