raft: leader resigns on the first encounter with `ER_WAL_IO`
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/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
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 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