Skip to content

Commit 63f1d33

Browse files
committed
DOCS-14391 add replWriterMinThreadCount param
1 parent c065008 commit 63f1d33

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

source/reference/parameters.txt

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,11 +2179,40 @@ Logical Session
21792179

21802180
|mongod-only|
21812181

2182-
Number of threads to use to apply replicated operations in parallel.
2183-
Values can range from 1 to 256 inclusive. You can only set
2182+
Maximum number of threads to use to apply replicated operations in
2183+
parallel. Values can range from 1 to 256 inclusive. You can only set
21842184
:parameter:`replWriterThreadCount` at startup and cannot change this
21852185
setting with the :dbcommand:`setParameter` command.
21862186

2187+
.. seealso::
2188+
2189+
:parameter:`replWriterMinThreadCount`
2190+
2191+
.. parameter:: replWriterMinThreadCount
2192+
2193+
.. versionadded:: 5.0
2194+
2195+
*Type*: integer
2196+
2197+
*Default*: 0
2198+
2199+
|mongod-only|
2200+
2201+
Minimum number of threads to use to apply replicated operations in
2202+
parallel. Values can range from 0 to 256 inclusive. You can only set
2203+
:parameter:`replWriterMinThreadCount` at startup and cannot change
2204+
this setting with the :dbcommand:`setParameter` command.
2205+
2206+
Parallel application of replication operations uses up to
2207+
:parameter:`replWriterThreadCount` threads. If
2208+
:parameter:`replWriterMinThreadCount` is configured with a value
2209+
less than :parameter:`replWriterThreadCount`, the thread pool will
2210+
timeout idle threads until the total count of threads in the thread
2211+
pool is equal to :parameter:`replWriterMinThreadCount`.
2212+
2213+
:parameter:`replWriterMinThreadCount` must be configured with a value
2214+
that is less than or equal to :parameter:`replWriterThreadCount`.
2215+
21872216
.. parameter:: rollbackTimeLimitSecs
21882217

21892218
*Type*: 64-bit integer

0 commit comments

Comments
 (0)