Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: anonymous replica is now supported #3896

Open
TarantoolBot opened this issue Dec 6, 2023 · 0 comments
Open

config: anonymous replica is now supported #3896

TarantoolBot opened this issue Dec 6, 2023 · 0 comments

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Dec 6, 2023

Related dev. issue(s): tarantool/tarantool#9432

Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/configuration/configuration_reference/#configuration-reference-replication-anon
SME: @ Totktonada

Details

replication.anon: true option is now working.

There are configuration constraints that are related to anonymous replicas.

  • A replicaset must contain at least one non-anonymous instance.
  • An anonymous replica can't be configured as writable instance using database.mode or <replicaset>.leader options.
  • An anonymous replica can't be configured with replication.election_mode equals to candidate, voter or manual (only off is allowed).

A few more nuances about anonymous replicas:

  • Anonymous replicas are filtered out from default upstream list.
  • A replication.failover: election replicaset can contain anonymous replicas, but replication.election_mode defaults to off for them (unlike non-anonymous instances, where the default is candidate).
  • replication.failover: supervised skips anonymous replicas, when choosing a bootstrap leader.
  • A anonymous replica can joined a replicaset, which has all the instances in read-only mode (unlike a non-anonymous instance).

See details in tarantool/tarantool#9432 and tarantool/tarantool#9418.

Requested by @ Totktonada in tarantool/tarantool@5ba3ace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants