tarantool / tarantool/doc

raft: leader resigns on the first encounter with `ER_WAL_IO`

Open
#4,048 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.1 raft
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/9399

Product: Tarantool
Since: 3.1
Root document: https://www.tarantool.io/en/doc/latest/concepts/replication/repl_leader_elect/
SME: @ Astronomax

Details

Now the leader resigns on the first encounter with ER_WAL_IO write error (the leader broadcasts this).
Requested by @ Astronomax in https://github.com/tarantool/tarantool/commit/0e71be2e6dd675c7ecaa42bbfe509745d79db89b.

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.

Research direction

Start with the replication leader election root document and read the related development issue for the intended behavior around ER_WAL_IO. Update the documentation to explain what happens when the leader first encounters this write error and how resignation is communicated; done means the documented behavior matches the implementation and the linked issue.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.