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
Copy file name to clipboardExpand all lines: doc/how-to/replication/repl_bootstrap.rst
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Master-replica: manual failover
6
6
7
7
**Example on GitHub**: `manual_leader <https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/replication/instances.enabled/manual_leader>`_
8
8
9
+
This tutorial shows how to configure a replica set with manual failover.
10
+
9
11
10
12
.. _replication-tt-env:
11
13
@@ -236,7 +238,7 @@ To check that a replica (``instance002``) gets all updates from the master, foll
236
238
237
239
.. NOTE::
238
240
239
-
Note that a ``vclock`` value might include the 0-th component that is related to local space operations and might differ for different instances in a replica set.
241
+
Note that a ``vclock`` value might include the ``0`` component that is related to local space operations and might differ for different instances in a replica set.
240
242
241
243
.. vclock_0th_component_note_end
242
244
@@ -298,7 +300,8 @@ Starting an instance
298
300
Reloading configuration
299
301
~~~~~~~~~~~~~~~~~~~~~~~
300
302
301
-
After adding ``instance003`` to the configuration and starting it, configurations on all instances should be reloaded to allow ``instance001`` and ``instance002`` to get data from the new instance in case it becomes a master:
303
+
After you added ``instance003`` to the configuration and started it, you need to reload configurations on all instances.
304
+
This is required to allow ``instance001`` and ``instance002`` to get data from the new instance in case it becomes a master.
302
305
303
306
1. Connect to ``instance003`` using ``tt connect``:
**Example on GitHub**: `auto_leader <https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/replication/instances.enabled/auto_leader>`_
7
7
8
+
This tutorial shows how to configure a replica set with automated failover.
9
+
8
10
9
11
.. _replication-automated-failover-tt-env:
10
12
@@ -178,7 +180,7 @@ Checking a replica set status
178
180
...
179
181
180
182
4. Execute ``box.info.replication`` to check a replica set status.
181
-
Make sure that ``upstream.status`` and ``downstream.status`` are ``follow`` for ``instance002`` and ``instance003``.
183
+
Make sure that ``upstream.status`` and ``downstream.status`` are ``follow`` for ``instance001`` and ``instance003``.
182
184
183
185
.. code-block:: console
184
186
@@ -227,7 +229,7 @@ Checking a replica set status
227
229
Adding data
228
230
~~~~~~~~~~~
229
231
230
-
To check that replicas (``instance001`` and ``instance003``) get all updates from the master(``instance002``), follow the steps below:
232
+
To check that replicas (``instance001`` and ``instance003``) get all updates from the master(``instance002``), follow the steps below:
231
233
232
234
1. Connect to ``instance002`` using ``tt connect``:
233
235
@@ -241,7 +243,7 @@ To check that replicas (``instance001`` and ``instance003``) get all updates fro
241
243
242
244
3. Use the ``select`` operation on ``instance001`` and ``instance003`` to make sure data is replicated.
243
245
244
-
4. Check that the 1-st component of :ref:`box.info.vclock <box_introspection-box_info>` values are the same on all instances:
246
+
4. Check that the ``1`` component of :ref:`box.info.vclock <box_introspection-box_info>` values are the same on all instances:
245
247
246
248
- ``instance001``:
247
249
@@ -368,7 +370,7 @@ To test how automated failover works if the current master is stopped, follow th
368
370
Choosing a leader manually
369
371
--------------------------
370
372
371
-
1. Make sure that :ref:`box.info.vclock <box_introspection-box_info>` values (excluding the 0-th components) are the same on all instances:
373
+
1. Make sure that :ref:`box.info.vclock <box_introspection-box_info>` values (except the ``0`` components) are the same on all instances:
Copy file name to clipboardExpand all lines: doc/how-to/replication/repl_bootstrap_master_master.rst
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ Master-master
5
5
6
6
**Example on GitHub**: `master_master <https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/replication/instances.enabled/master_master>`_
7
7
8
+
This tutorial shows how to configure a replica set with master-master configuration.
0 commit comments