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.3.x] CORE-1972 don't mark rebalance complete if some partitions are not moveable #18522

Merged
merged 4 commits into from
May 17, 2024

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented May 16, 2024

Backport of PR #18489

Fixes #18517

ztlpn added 4 commits May 16, 2024 11:51
(cherry picked from commit 39a5ec4)
Previously, we finished counts rebalance if no new moves could be
found, even when some partitions were not moveable. This could lead to
finishing too early and not achieving balanced distribution when many
partitions were not moveable (e.g. because they are disabled due to
recovery mode).

(cherry picked from commit 46e7a58)

Conflicts:
	src/v/cluster/partition_balancer_planner.cc
Allows not starting all nodes at once.

(cherry picked from commit d54e6b6)
Test that rebalancing after node addition eventually achieves balanced
distribution, even though some nodes were temporarily in recovery mode.

(cherry picked from commit 588ca47)
@ztlpn ztlpn added this to the v23.3.x-next milestone May 16, 2024
@ztlpn ztlpn added the kind/backport PRs targeting a stable branch label May 16, 2024
@ztlpn ztlpn marked this pull request as ready for review May 16, 2024 10:03
@ztlpn
Copy link
Contributor Author

ztlpn commented May 16, 2024

Test failure: #14892

@ztlpn ztlpn merged commit 8c11e14 into redpanda-data:v23.3.x May 17, 2024
19 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.16 May 19, 2024
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.

[v23.3.x] CORE-1972 don't mark rebalance complete if some partitions are not moveable
3 participants