From 6e2648bde23fa46769924a9f591d61929094ec06 Mon Sep 17 00:00:00 2001 From: andf-mongodb Date: Fri, 11 Jun 2021 16:27:45 -0400 Subject: [PATCH] DOCS-14391 add replWriterMinThreadCount param --- source/reference/parameters.txt | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index fb08008ad15..3a682eec0ba 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -1848,11 +1848,40 @@ Replication Parameters |mongod-only| - Number of threads to use to apply replicated operations in parallel. - Values can range from 1 to 256 inclusive. You can only set + Maximum number of threads to use to apply replicated operations in + parallel. Values can range from 1 to 256 inclusive. You can only set :parameter:`replWriterThreadCount` at startup and cannot change this setting with the :dbcommand:`setParameter` command. + .. seealso:: + + :parameter:`replWriterMinThreadCount` + +.. parameter:: replWriterMinThreadCount + + .. versionadded:: 4.2.15 (and 4.4.7) + + *Type*: integer + + *Default*: 0 + + |mongod-only| + + Minimum number of threads to use to apply replicated operations in + parallel. Values can range from 0 to 256 inclusive. You can only set + :parameter:`replWriterMinThreadCount` at startup and cannot change + this setting with the :dbcommand:`setParameter` command. + + Parallel application of replication operations uses up to + :parameter:`replWriterThreadCount` threads. If + :parameter:`replWriterMinThreadCount` is configured with a value + less than :parameter:`replWriterThreadCount`, the thread pool will + timeout idle threads until the total count of threads in the thread + pool is equal to :parameter:`replWriterMinThreadCount`. + + :parameter:`replWriterMinThreadCount` must be configured with a value + that is less than or equal to :parameter:`replWriterThreadCount`. + .. parameter:: rollbackTimeLimitSecs *Type*: 64-bit integer