You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A sample application demonstrating how to work with [box.info.synchro](https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/synchro/).
4
+
5
+
## Running
6
+
7
+
To start all instances, execute the following command in the [replication](../../../replication) directory:
Since version :doc:`2.5.3 </release/2.5.3>`, the option can be set as a dynamic formula.
58
58
In this case, the value of the ``quorum`` member depends on the current number of replicas.
59
59
@@ -63,9 +63,9 @@ box.info.synchro
63
63
That is, synchronous transactions work like asynchronous ones.
64
64
`1` means that a successful WAL writing to the master is enough to commit.
65
65
66
-
.. code-block:: console
66
+
.. code-block:: tarantoolsession
67
67
68
-
instance001> box.info.synchro
68
+
box_info_synchro:instance001> box.info.synchro
69
69
---
70
70
- queue:
71
71
owner: 1
@@ -79,19 +79,48 @@ box.info.synchro
79
79
80
80
**Example 2:**
81
81
82
-
First, set a quorum number and a timeout for synchronous replication in the configuration file (``config.yaml``):
82
+
Example on GitHub: `box_info_synchro <https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/replication/instances.enabled/box_info_synchro>`_
0 commit comments