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

Add per-node maintenance mode #3020

Closed
dotnwat opened this issue Nov 19, 2021 · 2 comments
Closed

Add per-node maintenance mode #3020

dotnwat opened this issue Nov 19, 2021 · 2 comments
Labels
area/redpanda kind/enhance New feature or request

Comments

@dotnwat
Copy link
Member

dotnwat commented Nov 19, 2021

The core primitive of rolling upgrade is preparing a node for being shutdown gracefully. This is primarily achieved by reliably relinquishing leadership of raft groups. A per-node maintenance mode should be created that achieves this state.

Fist new leadership should be rejected:

Next, leadership should be transfer to other nodes. This might require throttling in some cases:

A node should be able to be put into maintenance mode:

  • via admin api
  • via signal (subject to any configuration that controls signal handling behavior)

A node should be able to be brought out of maintenance mode. If triggered via signal (e.g. shutting down as part of a k8s replica set rolling upgrade) this may not be feasible.

Additional notes

@dotnwat dotnwat added kind/enhance New feature or request area/redpanda labels Nov 19, 2021
@dotnwat dotnwat added this to the Rolling upgrade safety milestone Nov 19, 2021
@jcsp
Copy link
Contributor

jcsp commented Nov 19, 2021

I was opening tickets for this before it was cool :) #2093 (but this one has more useful context, so closing the old one)

@dotnwat
Copy link
Member Author

dotnwat commented Mar 2, 2022

Duplicate of #3705

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

No branches or pull requests

3 participants