Skip to content

Commit 144fdaf

Browse files
committed
Env var added
1 parent 2216b0d commit 144fdaf

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,11 +3634,11 @@ The ``replication`` section defines configuration parameters related to :ref:`re
36343634

36353635
Configuration fields
36363636

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

3639-
- ``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.
36403640

3641-
- ``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.
36423642

36433643
**Example Patterns**:
36443644

@@ -3716,7 +3716,7 @@ The ``replication`` section defines configuration parameters related to :ref:`re
37163716
37173717
Save the file.
37183718

3719-
4. For the leader instance (``r-001-i-001``), check the _cluster space:
3719+
4. For the leader instance (``r-001-i-001``), check the ``_cluster`` space:
37203720

37213721
.. hint::
37223722

@@ -3738,6 +3738,13 @@ The ``replication`` section defines configuration parameters related to :ref:`re
37383738

37393739
After the reload, ``r-001-i-003`` should no longer appear in the ``_cluster`` system space.
37403740

3741+
|
3742+
| Type: boolean
3743+
| Default: false
3744+
| Environment variable:
3745+
| TT_REPLICATION_AUTOEXPEL_BY
3746+
| TT_REPLICATION_AUTOEXPEL_ENABLED
3747+
| TT_REPLICATION_AUTOEXPEL_PREFIX
37413748
37423749

37433750
.. _configuration_reference_replication_bootstrap_strategy:

0 commit comments

Comments
 (0)