Skip to content

Commit 2216b0d

Browse files
committed
Some errors fixed
1 parent 76006a2 commit 2216b0d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3617,6 +3617,7 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36173617
The expulsion process follows the standard procedure, involving the removal of the instance from the ``_cluster`` system space.
36183618

36193619
The ``autoexpel`` logic is activated during specific events:
3620+
36203621
- **Startup**. When the cluster starts, ``autoexpel`` checks and removes instances not matching the updated configuration.
36213622
- **Reconfiguration**. When the YAML configuration is reloaded, ``autoexpel`` compares the current state to the updated configuration and performs necessary expulsions.
36223623
- ``box.status`` **Watcher event**. Changes detected by the ``box.status watcher`` also trigger the ``autoexpel`` mechanism.
@@ -3633,15 +3634,17 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36333634

36343635
Configuration fields
36353636

3636-
- **`enabled`** *(boolean, default: `false`)*: enables or disables the ``autoexpel`` logic.
3637+
- ``enabled`` *(boolean, default: ``false``)*: enables or disables the ``autoexpel`` logic.
36373638

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

3640-
- **`prefix`** *(string, default: `nil`)*: defines the pattern for instance names that are considered part of the cluster.
3641+
- ``prefix`` *(string, default: ``nil``)*: defines the pattern for instance names that are considered part of the cluster.
36413642

36423643
**Example Patterns**:
3644+
36433645
- If instances are prefixed with the replicaset name, set:
36443646
``prefix: '{{ replicaset_name }}'``
3647+
36453648
- For instances matching a specific pattern (e.g., `i-\d\d\d`), set:
36463649
``prefix: 'i-'``
36473650

@@ -3679,7 +3682,6 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36793682
36803683
36813684
This configuration:
3682-
36833685
- Sets up authentication with a guest user assigned the super role.
36843686
- Enables the ``autoexpel`` option to automatically expel instances not present in the YAML file.
36853687
- Defines instance names based on a prefix pattern: ``{{ replicaset_name }}``.

0 commit comments

Comments
 (0)