Skip to content

Commit 274a75b

Browse files
committed
DOCS-14391 add replWriterMinThreadCount param
1 parent f6dbe8e commit 274a75b

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
@@ -1848,11 +1848,40 @@ Replication Parameters
18481848

18491849
|mongod-only|
18501850

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

1856+
.. seealso::
1857+
1858+
:parameter:`replWriterMinThreadCount`
1859+
1860+
.. parameter:: replWriterMinThreadCount
1861+
1862+
.. versionadded:: 4.2.15
1863+
1864+
*Type*: integer
1865+
1866+
*Default*: 0
1867+
1868+
|mongod-only|
1869+
1870+
Minimum number of threads to use to apply replicated operations in
1871+
parallel. Values can range from 0 to 256 inclusive. You can only set
1872+
:parameter:`replWriterMinThreadCount` at startup and cannot change
1873+
this setting with the :dbcommand:`setParameter` command.
1874+
1875+
Parallel application of replication operations uses up to
1876+
:parameter:`replWriterThreadCount` threads. If
1877+
:parameter:`replWriterMinThreadCount` is configured with a value
1878+
less than :parameter:`replWriterThreadCount`, the thread pool will
1879+
timeout idle threads until the total count of threads in the thread
1880+
pool is equal to :parameter:`replWriterMinThreadCount`.
1881+
1882+
:parameter:`replWriterMinThreadCount` must be configured with a value
1883+
that is less than or equal to :parameter:`replWriterThreadCount`.
1884+
18561885
.. parameter:: rollbackTimeLimitSecs
18571886

18581887
*Type*: 64-bit integer

0 commit comments

Comments
 (0)