summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_runtime_d_params.idl
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2020-04-24 14:01:56 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-06 18:50:59 +0000
commit607f486bbb0211f1769b8bd2200b3cdaaaafe775 (patch)
tree4265cc9d19bd3bf10be424b44f5f92834947ac14 /src/mongo/db/s/sharding_runtime_d_params.idl
parentac891ed967fa7568c584e0fafe43c3d24b112fb4 (diff)
downloadmongo-607f486bbb0211f1769b8bd2200b3cdaaaafe775.tar.gz
SERVER-37364 Coordinator should return the decision to the client as soon as the decision is durable
Diffstat (limited to 'src/mongo/db/s/sharding_runtime_d_params.idl')
-rw-r--r--src/mongo/db/s/sharding_runtime_d_params.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharding_runtime_d_params.idl b/src/mongo/db/s/sharding_runtime_d_params.idl
index e256c2cb7c0..4533c957adf 100644
--- a/src/mongo/db/s/sharding_runtime_d_params.idl
+++ b/src/mongo/db/s/sharding_runtime_d_params.idl
@@ -122,3 +122,12 @@ server_parameters:
cpp_varname: minNumChunksForSessionsCollection
default: 1024
validator: { gte: 1, lte: 1000000 }
+
+ coordinateCommitReturnImmediatelyAfterPersistingDecision:
+ description: >-
+ Whether the transaction coordinator should return the decision as soon as the
+ the decision is made durable.
+ set_at: [startup, runtime]
+ cpp_vartype: AtomicWord<bool>
+ cpp_varname: coordinateCommitReturnImmediatelyAfterPersistingDecision
+ default: true