Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raft: configurable rejection of raft leadership #3016

Closed
dotnwat opened this issue Nov 19, 2021 · 1 comment
Closed

raft: configurable rejection of raft leadership #3016

dotnwat opened this issue Nov 19, 2021 · 1 comment
Assignees
Labels
area/raft kind/enhance New feature or request

Comments

@dotnwat
Copy link
Member

dotnwat commented Nov 19, 2021

A core primitive in rolling upgrades is graceful shutdown of a node such that availability of the system in unaffected when the node goes offline. Since all cluster interaction occurs on nodes with leadership, expunging leadership from a node will result in clients naturally being redirected to other nodes in the system, and avoid disruption like raft time and leadership election that occur in non-graceful shutdown scenarios.

  1. Applies to all raft groups (controller, internal topics, Kafka topics)
  2. Leadership should be rejected for normal raft mechanics and explicit requests (e.g. from the balancer)
  3. This mode should be able to be enabled and disabled

Additional notes

@dotnwat dotnwat added this to the Rolling upgrade safety milestone Nov 19, 2021
@dotnwat dotnwat added area/raft kind/enhance New feature or request labels Nov 19, 2021
@BenPope BenPope self-assigned this Dec 8, 2021
@ivotron ivotron modified the milestones: Rolling upgrade safety, v22.1.1 Feb 23, 2022
@dotnwat
Copy link
Member Author

dotnwat commented Mar 2, 2022

Duplicate of #3016

@dotnwat dotnwat marked this as a duplicate of #3016 Mar 2, 2022
@dotnwat dotnwat closed this as completed Mar 2, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/raft kind/enhance New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants