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
@@ -3619,13 +3619,6 @@ The ``replication`` section defines configuration parameters related to :ref:`re
3619
3619
3620
3620
The expulsion process follows the standard procedure, involving the removal of the instance from the ``_cluster`` system space.
3621
3621
3622
-
The ``autoexpel`` logic is activated during specific events:
3623
-
3624
-
- **Startup**. When the cluster starts, ``autoexpel`` checks and removes instances not matching the updated configuration.
3625
-
- **Reconfiguration**. When the YAML configuration is reloaded, ``autoexpel`` compares the current state to the updated configuration and performs necessary expulsions.
3626
-
- ``box.status`` **watcher event**. Changes detected by the ``box.status`` watcher also trigger the ``autoexpel`` mechanism.
3627
-
3628
-
3629
3622
``autoexpel`` does not take any actions on newly joined instances unless one of the triggering events occurs.
3630
3623
This means that an instance meeting the ``autoexpel`` criterion can still join the cluster, but it may be removed
3631
3624
later during reconfiguration or on subsequent triggering events.
@@ -3635,7 +3628,7 @@ The ``replication`` section defines configuration parameters related to :ref:`re
3635
3628
global levels. It is not applicable at the instance level.
3636
3629
3637
3630
3638
-
Configuration fields
3631
+
**Configuration fields**
3639
3632
3640
3633
- ``by`` (string, default: ``nil``): specifies the ``autoexpel`` criterion. Currently, only ``prefix`` is supported and must be explicitly set.
3641
3634
@@ -3645,7 +3638,8 @@ The ``replication`` section defines configuration parameters related to :ref:`re
3645
3638
3646
3639
3647
3640
3648
-
replication.autoexpel_by.*
3641
+
3642
+
replication.autoexpel.by
3649
3643
~~~~~~~~~~~~~
3650
3644
3651
3645
``replication.autoexpel_by`` purpose is to define the criterion used for determining which instances in a cluster are
By default, the ``enabled`` field is set to ``false``, meaning the ``autoexpel`` logic is turned off. This ensures that no instances are automatically removed unless explicitly configured.
3694
3690
3695
-
Enabling ``autoexpel`` logic
3696
3691
3692
+
**Enabling ``autoexpel`` logic**
3693
+
3697
3694
To enable ``autoexpel``, you should set enabled to true in the ``replication.autoexpel`` section of your YAML configuration:
The ``prefix`` field filters instances for expulsion by differentiating cluster instances (from the YAML configuration) from external services (e.g., CDC tools). Only instances matching the prefix are considered.
0 commit comments