Skip to content

Updates default value for replication_sync_timeout #5186

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 3 commits into from
Jun 20, 2025
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions doc/reference/configuration/cfg_replication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,15 @@

|
| 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 <compat-option-replication-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 the old default value (300) by using the ``compat`` module.
For more information on changing the default value via the ``compat`` module,
see :ref:`Default value for replication_sync_timeout <compat-option-replication-timeout>`.

.. _cfg_replication-replication_timeout:

Expand Down
2 changes: 1 addition & 1 deletion doc/reference/reference_lua/box_cfg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down