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.2.x] c/partition_balancer: prioritize full-disk constraint over rack repair #15292

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Dec 4, 2023

Backport of PR #15270

To avoid flip-flop partition movements (replica moved from
over-disk-limit node to a rack that already hosts another replica and
then back to original node to repair the rack constraint), prioritize
full-disk constraint over rack repair by essentially making full-disk
threshold a hard constraint when calculating movements for rack
constraint repair.

(cherry picked from commit 0d0a870)

Conflicts:
	src/v/cluster/partition_balancer_planner.cc
@ztlpn ztlpn added this to the v23.2.x-next milestone Dec 4, 2023
@ztlpn ztlpn added the kind/backport PRs targeting a stable branch label Dec 4, 2023
@ztlpn ztlpn requested a review from bharathv December 4, 2023 15:16
@ztlpn ztlpn marked this pull request as ready for review December 4, 2023 15:18
@ztlpn
Copy link
Contributor Author

ztlpn commented Dec 4, 2023

Test issue is similar to #15262 (although it occurred in a different test) - redpanda_installer wasn't able to download the required redpanda release. Restarted.

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

3 participants