summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/transaction_coordinator.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-07-15 12:52:12 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-07-23 17:25:35 -0400
commite3c26cf2f4c6ea3d597f42360442c0b6320e84bc (patch)
tree37442818ec0c0555dfd203f330a2abd1fd7ace1a /src/mongo/db/s/transaction_coordinator.h
parent7d687264de65258764dca70ce46754c4765912ce (diff)
downloadmongo-e3c26cf2f4c6ea3d597f42360442c0b6320e84bc.tar.gz
SERVER-41369 Terminate the TransactionCoordinator retry logic if read concern majority is not available
Diffstat (limited to 'src/mongo/db/s/transaction_coordinator.h')
-rw-r--r--src/mongo/db/s/transaction_coordinator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/transaction_coordinator.h b/src/mongo/db/s/transaction_coordinator.h
index 2bfb54e74ba..87b7252a6dc 100644
--- a/src/mongo/db/s/transaction_coordinator.h
+++ b/src/mongo/db/s/transaction_coordinator.h
@@ -98,7 +98,7 @@ public:
*
* TODO (SERVER-37364): Remove this when it is no longer needed by the coordinator service.
*/
- SharedSemiFuture<txn::CommitDecision> getDecision();
+ SharedSemiFuture<txn::CommitDecision> getDecision() const;
/**
* Returns a future which can be listened on for when all the asynchronous activity spawned by