summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_runtime_d_params.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/sharding_runtime_d_params.idl')
-rw-r--r--src/mongo/db/s/sharding_runtime_d_params.idl13
1 files changed, 13 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 dbe92c56f81..76aebc4934f 100644
--- a/src/mongo/db/s/sharding_runtime_d_params.idl
+++ b/src/mongo/db/s/sharding_runtime_d_params.idl
@@ -84,6 +84,19 @@ server_parameters:
cpp_varname: migrationLockAcquisitionMaxWaitMS
default: 500
+ minCatchUpPercentageBeforeBlockingWrites:
+ description: >-
+ The maximum percentage of untrasferred chunk mods at the end of a catch up iteration
+ that may be deferred to the next phase of the migration protocol
+ (where new writes get blocked).
+ set_at: [startup]
+ cpp_vartype: int
+ cpp_varname: minCatchUpPercentageBeforeBlockingWrites
+ validator:
+ gte: 0
+ lte: 100
+ default: 10
+
orphanCleanupDelaySecs:
description: 'How long to wait before starting cleanup of an emigrated chunk range.'
set_at: [startup, runtime]