Skip to content

config: mark instances as non-appointable by the supervised failover #4993

Open
@georgiy-belyanin

Description

@georgiy-belyanin

This issue has been created manually due to error in parsing title of https://github.com/tarantool/tarantool-ee/commit/5cbe9e37f067ebc3e20d36eb89391cd913252e95


Dev. issues: (https://github.com/tarantool/tarantool-ee/issues/991, tarantool/tarantool#10842)

Product: Tarantool
Since: 3.3.0
Root document:

Details

failover.replicasets.<replicaset-name>.learners section allows to
specify instances that are ignored by the supervised failover
coordinator when selecting a master.

Note: if a learner instance is in RW mode, the coordinator stops the
failover process and waits until the instance transitions to RO mode.

Example. Specify "instance-002" and "instance-003" as learners and make
them not selected as masters:

failover:
  replicasets:
    replicaset-001:
      learners:
        - instance-002
        - instance-003

A coordinator configured like this ignores these two instances when
chooses a master and forbids executing "switch" command on them.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions