failover: prefer instances with more recent txns as masters
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Since: 3.7
Document: Supervised failover
Subsection: Appointing a new master instance
The Tarantool Failover Coordinator appoints the most appropriate
instance as a new master taking into account priorities configured by
the failover.replicasets.*.priority option and information on
instances vclocks (see box.info.vclock).
Requested by @georgiy-belyanin in https://github.com/tarantool/tarantool-ee/commit/a30307c75e7c2f18da1f453b64ec5889481ae65e.
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
Open the “Supervised failover” document and start with the “Appointing a new master instance” subsection. Review the linked commit for context, then update the subsection to explain that failover considers replica priorities and instance vclocks, including more recent transactions. Done means the documented master-selection behavior matches the requested change.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100