From 0f80d90065d236ed3290cf79a239e828e5c8eebd Mon Sep 17 00:00:00 2001 From: "a.ardeev" Date: Wed, 18 Jun 2025 09:31:50 +0300 Subject: [PATCH 1/3] Updates default value for replication_sync_timeout Changes default value in the description from 300 to 0 Fixes #5183 --- doc/reference/configuration/cfg_replication.rst | 6 +++--- doc/reference/reference_lua/box_cfg.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/reference/configuration/cfg_replication.rst b/doc/reference/configuration/cfg_replication.rst index abde3e3f23..a1639bd7e8 100644 --- a/doc/reference/configuration/cfg_replication.rst +++ b/doc/reference/configuration/cfg_replication.rst @@ -394,14 +394,14 @@ | | Type: float - | Default: 300 + | Default: 0 | Environment variable: TT_REPLICATION_SYNC_TIMEOUT | Dynamic: yes .. NOTE:: - The default ``replication_sync_timeout`` value is going to be changed in future versions from ``300`` to ``0``. - You can learn the reasoning behind this decision from the :ref:`Default value for replication_sync_timeout ` topic, which also describes how to try the new behavior in the current version. + The default ``replication_sync_timeout`` value can be changed to 300 by using the ``compat`` module. + More information on how to change the default value see in :ref:`Default value for replication_sync_timeout `. .. _cfg_replication-replication_timeout: diff --git a/doc/reference/reference_lua/box_cfg.rst b/doc/reference/reference_lua/box_cfg.rst index 15e6d16e38..f270e51213 100644 --- a/doc/reference/reference_lua/box_cfg.rst +++ b/doc/reference/reference_lua/box_cfg.rst @@ -76,7 +76,7 @@ default settings to all the parameters: replication_connect_timeout = 30 replication_skip_conflict = false replication_sync_lag = 10 - replication_sync_timeout = 300 + replication_sync_timeout = 0 replication_timeout = 1 slab_alloc_factor = 1.05 snap_io_rate_limit = nil From 4ca4ddccd23a950ce432d68e1acfd058ebca2f7e Mon Sep 17 00:00:00 2001 From: "a.ardeev" Date: Thu, 19 Jun 2025 12:32:22 +0300 Subject: [PATCH 2/3] Changes replication_sync_timeout Note text --- doc/reference/configuration/cfg_replication.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/reference/configuration/cfg_replication.rst b/doc/reference/configuration/cfg_replication.rst index a1639bd7e8..7992342cd7 100644 --- a/doc/reference/configuration/cfg_replication.rst +++ b/doc/reference/configuration/cfg_replication.rst @@ -400,8 +400,9 @@ .. NOTE:: - The default ``replication_sync_timeout`` value can be changed to 300 by using the ``compat`` module. - More information on how to change the default value see in :ref:`Default value for replication_sync_timeout `. + The default ``replication_sync_timeout`` value can be changed to the old default value (300) by using the ``compat`` module. + More information on changing the default value via the ``compat`` module + see in :ref:`Default value for replication_sync_timeout `. .. _cfg_replication-replication_timeout: From b9ef7524e8b1f14bd976fe55bce9b779e9792fb5 Mon Sep 17 00:00:00 2001 From: "a.ardeev" Date: Fri, 20 Jun 2025 08:23:57 +0300 Subject: [PATCH 3/3] Fixes syntax --- doc/reference/configuration/cfg_replication.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/reference/configuration/cfg_replication.rst b/doc/reference/configuration/cfg_replication.rst index 7992342cd7..2bb192f5ad 100644 --- a/doc/reference/configuration/cfg_replication.rst +++ b/doc/reference/configuration/cfg_replication.rst @@ -401,8 +401,8 @@ .. NOTE:: The default ``replication_sync_timeout`` value can be changed to the old default value (300) by using the ``compat`` module. - More information on changing the default value via the ``compat`` module - see in :ref:`Default value for replication_sync_timeout `. + For more information on changing the default value via the ``compat`` module, + see :ref:`Default value for replication_sync_timeout `. .. _cfg_replication-replication_timeout: