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

[v23.1.x] c/members_backend: fixed calculation of unevenness error #9763

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #9515
Fixes #9762,

When calculating an unevennes error we must include planned moves. When
move is planned in redpanda the allocation is only added to the replicas
that are about to be added to the replica set but not removed from the
one that are removed during partition reallocation. Fixed calculation of
unevenness error by subtracting removed replicas on the nodes they are
moved from.

Fixes: redpanda-data#9507

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit 5880248)
@vbotbuildovich vbotbuildovich added this to the v23.1.x-next milestone Mar 31, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Mar 31, 2023
@mmaslankaprv mmaslankaprv marked this pull request as ready for review March 31, 2023 13:47
@mmaslankaprv mmaslankaprv modified the milestones: v23.1.x-next, v23.1.4 Mar 31, 2023
@mmaslankaprv mmaslankaprv self-requested a review March 31, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants