Deleted replica applies its own deletion from the `_cluster` space
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Related dev. issue(s): https://github.com/tarantool/tarantool/issues/10088
Product: Tarantool
Since: 3.2
Root document:
- https://www.tarantool.io/en/doc/latest/concepts/replication/repl_sync/
- https://www.tarantool.io/en/doc/latest/how-to/replication/repl_bootstrap_auto/#adding-and-removing-instances
- https://www.tarantool.io/en/doc/latest/reference/configuration/configuration_reference/#configuration-reference-replication-synchro-quorum
SME: @ CuriousGeorgiy
Details
The deleted replica will now apply its own deletion from the _cluster
space. This will allow to delete a node regardless of
the current configuration in case the _cluster space is synchronous. The
deleted replica will need to be resubscribed, and if it is restarted
before resubscription, it needs to be started as an anonymous replica.
However, if a replica is down, then it will still be impossible to remove
it from a 2-member cluster without manual lowering of the
replication_synchro_quorum option. In such a scenario the instance should
not be turned off before it is dropped from the _cluster space when
synchronous replication is enabled for the _cluster space.
Requested by @ CuriousGeorgiy in https://github.com/tarantool/tarantool/commit/25aac111ce10bab38f5e43f72c2d5d322a1e0065.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the replication synchronization guide and the “Adding and removing instances” section, then review the replication_synchro_quorum configuration reference. Update the documentation to cover deletion from the synchronous _cluster space, resubscription or anonymous restart requirements, and the two-member-cluster caveat when a replica is down.】【。
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100