-
Notifications
You must be signed in to change notification settings - Fork 552
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
Fixed finishing recommissioning update #7533
Conversation
Signed-off-by: Michal Maslanka <michal@redpanda.com>
164138b
to
94fb842
Compare
Fixed stop condition to allow recommissioning operations that do not require reallocations to finish. Previously the recommissioning operation would only finish if there were reallocations finished. Fixed the incorrect stop condition by finishing the recommission operation that does not require reallocations. Fixes: redpanda-data#7275 Signed-off-by: Michal Maslanka <michal@redpanda.com>
Added test validating that the cycle of decommission/recommission/decommission of a node is possible. Signed-off-by: Michal Maslanka <michal@redpanda.com>
94fb842
to
49812c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense to me.
@mmaslankaprv does it make sense to expose an admin api to get this unstuck in the future. something like, |
I will add an admin API that will allow us to force cancel ongoing re-balancing operation in a follow up PR |
@mmaslankaprv please don't forget the backports (and sorry if I missed seeing them) |
/backport v22.2.x |
/backport v22.3.x |
c/members_backend: allow empty recommissioning updates to finish
Fixed stop condition to allow recommissioning operations that do not
require reallocations to finish. Previously the recommissioning
operation would only finish if there were reallocations finished. Fixed
the incorrect stop condition by finishing the recommission operation
that does not require reallocations.
Fixes: #7526
Backports Required
UX Changes
Release Notes
Bug Fixes