Skip to content

Commit ab4be14

Browse files
committed
fix gh-1166 Harmonize replication bootstrap config
1 parent d03f3b2 commit ab4be14

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

doc/book/replication/repl_bootstrap.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,14 @@ URIs of both masters in the replica set and say
322322
``print('box.once executed on master #1')`` so it will be clear when and where the
323323
``box.once()`` logic is executed.
324324

325-
Now we can launch the two masters. Again, the launch order doesn't matter.
326-
The ``box.once()`` logic will also be executed only once, at the master which
327-
is elected as the replica set :ref:`leader <replication-leader>` at bootstrap.
325+
Now we can launch the two masters.
326+
327+
.. NOTE::
328+
329+
Tarantool guarantees that ``box.once()`` logic will be executed once only
330+
for a single instance. Starting a master-master replica set in parallel
331+
can cause repeated execution of ``box.once``. That, particularly, can result
332+
in data inconsistency.
328333

329334
.. code-block:: console
330335

0 commit comments

Comments
 (0)