Skip to content

Commit fdbeba7

Browse files
committed
check links
1 parent 8d0976b commit fdbeba7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3620,9 +3620,8 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36203620

36213621
- **Startup**. When the cluster starts, ``autoexpel`` checks and removes instances not matching the updated configuration.
36223622
- **Reconfiguration**. When the YAML configuration is reloaded, ``autoexpel`` compares the current state to the updated configuration and performs necessary expulsions.
3623-
- ``box.status`` **Watcher event**. Changes detected by the ``box.status watcher`` also trigger the ``autoexpel`` mechanism.
3623+
- ``box.status`` **Watcher event**. Changes detected by the ``box.status`` watcher also trigger the ``autoexpel`` mechanism.
36243624

3625-
New instances
36263625

36273626
``autoexpel`` does not take any actions on newly joined instances unless one of the triggering events occurs.
36283627
This means that an instance meeting the ``autoexpel`` criterion can still join the cluster, but it may be removed
@@ -3635,7 +3634,7 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36353634

36363635
Configuration fields
36373636

3638-
- ``by`` (string, default: ``nil``): specifies the ``autoexpel`` criterion. Currently, only ``prefix`` is supported and must be explicitly set.
3637+
- ``by`` :ref:`replication.autoexpel_by.*` (string, default: ``nil``): specifies the ``autoexpel`` criterion. Currently, only ``prefix`` is supported and must be explicitly set.
36393638

36403639
- ``enabled`` (boolean, default: ``false``): enables or disables the ``autoexpel`` logic.
36413640

@@ -3762,7 +3761,7 @@ replication.autoexpel_prefix.*
37623761
prefix: 'i-'
37633762
37643763
In this setup:
3765-
- All instances with names starting with ``i-`` (e.g., v``i-001``, ``i-002``) are considered for expulsion.
3764+
- All instances with names starting with ``i-`` (e.g., ``i-001``, ``i-002``) are considered for expulsion.
37663765
- This is useful when instances follow a uniform naming convention.
37673766

37683767
|
@@ -3771,7 +3770,7 @@ replication.autoexpel_prefix.*
37713770
| Environment variable: TT_REPLICATION_PREFIX
37723771
37733772

3774-
** Full Example**
3773+
**Full Example**
37753774

37763775
1. Create a ``config.yaml`` file with the following content:
37773776

@@ -3862,7 +3861,7 @@ replication.autoexpel_prefix.*
38623861
.. code-block:: lua
38633862
38643863
config = require('config')
3865-
config:reload()
3864+
config:reload()
38663865
38673866
6. Verify the changes:
38683867

0 commit comments

Comments
 (0)