Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Elena Shebunyaeva <elena.shebunyaeva@gmail.com>
  • Loading branch information
xuniq and lenkis authored Oct 18, 2024
1 parent 42ffb40 commit 2a5a077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/reference/reference_lua/box_info/synchro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ box.info.synchro
When Raft election is enabled and :ref:`replication.election_mode <configuration_reference_replication_election_mode>`
is set to ``candidate``, the new Raft leader claims the queue automatically after winning the elections.
It means that the value of ``box.info.synchro.queue.owner`` becomes equal to :ref:`box.info.election.leader <box_info_election>`.
When Raft enabled, no manual intervention with ``box.ctl.promote()`` or ``box.ctl.demote()`` is required.
When Raft is enabled, no manual intervention with ``box.ctl.promote()`` or ``box.ctl.demote()`` is required.

- ``term`` (since version :doc:`2.10.0 </release/2.10.0>`) -- current queue term.
It contains the term of the last ``PROMOTE`` request.
Expand Down Expand Up @@ -98,13 +98,13 @@ box.info.synchro
box_info_synchro:instance001> box.schema.user.grant('guest', 'super')
After that, use ``box.ctl.promote()`` function to claim the queue:
After that, use the ``box.ctl.promote()`` function to claim the queue:

.. code-block:: tarantoolsession
box_info_synchro:instance001> box.ctl.promote()
Create a space called ``sync`` and enable synchronous replication on this space:
Create a space named ``sync`` and enable synchronous replication on this space:

.. code-block:: tarantoolsession
Expand Down

0 comments on commit 2a5a077

Please sign in to comment.