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

[v24.3.x] leader_balancer: implement and use even_node_load_constraint #24440

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #24403

ztlpn added 5 commits December 4, 2024 22:38
Leader balancer treats all CPU cores available in the cluster as independent and
tries to balance leadership among them and not among nodes (i.e. the objective is
that each core has the same number of leaders, and not each node). This
leads to unintuitive results, especially when the number of raft groups
is comparable to the number of available shards.

Add a low-priority node balancing constraint to fix that.

(cherry picked from commit f0a4428)
Previously it didn't copy empty shards in the index.

(cherry picked from commit f93b43a)
Makes it easier to read the stats.

(cherry picked from commit 6db1730)
Give more time for muted groups to unmute.

(cherry picked from commit 049e258)
@vbotbuildovich vbotbuildovich added this to the v24.3.x-next milestone Dec 4, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Dec 4, 2024
@vbotbuildovich vbotbuildovich requested a review from ztlpn December 4, 2024 22:38
@ztlpn ztlpn enabled auto-merge December 4, 2024 22:40
@ztlpn ztlpn merged commit b26d24f into redpanda-data:v24.3.x Dec 5, 2024
17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.3.x-next, v24.3.2 Dec 6, 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.

3 participants