diff --git a/doc/reference/configuration/cfg_replication.rst b/doc/reference/configuration/cfg_replication.rst index 00fc844334..d09be69f3f 100644 --- a/doc/reference/configuration/cfg_replication.rst +++ b/doc/reference/configuration/cfg_replication.rst @@ -10,6 +10,7 @@ * :ref:`instance_uuid ` * :ref:`replication_synchro_quorum ` * :ref:`replication_synchro_timeout ` +* :ref:`replication_threads ` * :ref:`election_mode ` * :ref:`election_timeout ` * :ref:`election_fencing_enabled ` @@ -482,6 +483,27 @@ | Environment variable: TT_REPLICATION_SYNCHRO_TIMEOUT | Dynamic: **yes** +.. _cfg_replication-replication_replication_threads: + +.. confval:: replication_threads + + Since version :doc:`2.10.0 `. + The number of threads spawned to decode the incoming replication data. + + The default value is `1`. + It means that a single separate thread handles all the incoming replication streams. + In most cases, one thread is enough for all incoming data. + Therefore, it is likely that the user will not need to set this configuration option. + + Possible values range from 1 to 1000. + If there are multiple replication threads, connections to serve are distributed evenly between the threads. + + | Type: number + | Default: 1 + | Possible values: from 1 to 1000 + | Environment variable: TT_REPLICATION_THREADS + | Dynamic: **no** + .. _cfg_replication-election_mode: .. confval:: election_mode