failover: prefer instances with more recent txns as masters

Open Beginner friendly
#5,645 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Domain
documentation

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.

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.

Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tarantool/doc

All issues in tarantool/doc

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.