Skip to content

DOCS-14391 add replWriterMinThreadCount param #5611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions source/reference/parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down