Skip to content

Commit 18071dd

Browse files
AArdeevxuniq
andauthored
Updates default value for replication_sync_timeout (#5186)
* Updates default value for replication_sync_timeout * Changes default value in the description from 300 to 0 * Changes replication_sync_timeout Note text Co-authored-by: Kseniia Antonova <[email protected]> Fixes #5183
1 parent f90f510 commit 18071dd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/reference/configuration/cfg_replication.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,14 +394,15 @@
394394

395395
|
396396
| Type: float
397-
| Default: 300
397+
| Default: 0
398398
| Environment variable: TT_REPLICATION_SYNC_TIMEOUT
399399
| Dynamic: yes
400400
401401
.. NOTE::
402402

403-
The default ``replication_sync_timeout`` value is going to be changed in future versions from ``300`` to ``0``.
404-
You can learn the reasoning behind this decision from the :ref:`Default value for replication_sync_timeout <compat-option-replication-timeout>` topic, which also describes how to try the new behavior in the current version.
403+
The default ``replication_sync_timeout`` value can be changed to the old default value (300) by using the ``compat`` module.
404+
For more information on changing the default value via the ``compat`` module,
405+
see :ref:`Default value for replication_sync_timeout <compat-option-replication-timeout>`.
405406

406407
.. _cfg_replication-replication_timeout:
407408

doc/reference/reference_lua/box_cfg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ default settings to all the parameters:
7676
replication_connect_timeout = 30
7777
replication_skip_conflict = false
7878
replication_sync_lag = 10
79-
replication_sync_timeout = 300
79+
replication_sync_timeout = 0
8080
replication_timeout = 1
8181
slab_alloc_factor = 1.05
8282
snap_io_rate_limit = nil

0 commit comments

Comments
 (0)