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.idl11
1 files changed, 11 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 ee943867ba9..e536fa5dd25 100644
--- a/src/mongo/db/s/sharding_runtime_d_params.idl
+++ b/src/mongo/db/s/sharding_runtime_d_params.idl
@@ -52,6 +52,17 @@ server_parameters:
gte: 0
default: 20
+ maxCatchUpPercentageBeforeBlockingWrites:
+ 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: maxCatchUpPercentageBeforeBlockingWrites
+ validator: { gte: 0, lte: 100 }
+ default: 10
+
migrateCloneInsertionBatchSize:
description: >-
The maximum number of documents to insert in a single batch during the cloning step of