Skip to content

Commit 0bd7497

Browse files
kevinAlbskay-kim
authored andcommitted
DOCS-10907 add sharding parameter constraints
1 parent 486c02a commit 0bd7497

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/reference/parameters.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,14 @@ Sharding Parameters
11311131
You can only set this parameter during start-up and cannot change
11321132
this setting using the :dbcommand:`setParameter` database command.
11331133

1134+
If set, :parameter:`ShardingTaskExecutorPoolHostTimeoutMS` should be
1135+
greater than the sum of
1136+
:parameter`ShardingTaskExecutorPoolRefreshRequirementMS` and
1137+
:parameter:`ShardingTaskExecutorPoolRefreshTimeoutMS`. Otherwise,
1138+
:program:`mongos` adjusts the value of
1139+
:parameter:`ShardingTaskExecutorPoolHostTimeoutMS` to be greater than the
1140+
sum.
1141+
11341142
.. code-block:: sh
11351143

11361144
mongos --setParameter ShardingTaskExecutorPoolHostTimeoutMS=120000
@@ -1237,6 +1245,12 @@ Sharding Parameters
12371245
You can only set this parameter during start-up and cannot change
12381246
this setting using the :dbcommand:`setParameter` database command.
12391247

1248+
If set, :parameter:`ShardingTaskExecutorPoolRefreshRequirementMS` should be
1249+
greater than :parameter:`ShardingTaskExecutorPoolRefreshTimeoutMS`.
1250+
Otherwise, :program:`mongos` adjusts the value of
1251+
:parameter:`ShardingTaskExecutorPoolRefreshTimeoutMS` to be less than
1252+
:parameter:`ShardingTaskExecutorPoolRefreshRequirementMS`.
1253+
12401254
.. code-block:: sh
12411255

12421256
mongos --setParameter ShardingTaskExecutorPoolRefreshRequirementMS=90000
@@ -1255,6 +1269,12 @@ Sharding Parameters
12551269
You can only set this parameter during start-up and cannot change
12561270
this setting using the :dbcommand:`setParameter` database command.
12571271

1272+
If set, :parameter:`ShardingTaskExecutorPoolRefreshTimeoutMS` should be
1273+
less than :parameter:`ShardingTaskExecutorPoolRefreshRequirementMS`.
1274+
Otherwise, :program:`mongos` adjusts the value of
1275+
:parameter:`ShardingTaskExecutorPoolRefreshTimeoutMS` to be less than
1276+
:parameter:`ShardingTaskExecutorPoolRefreshRequirementMS`.
1277+
12581278
.. code-block:: sh
12591279

12601280
mongos --setParameter ShardingTaskExecutorPoolRefreshTimeoutMS=30000

0 commit comments

Comments
 (0)