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] c/leader_balancer: replaced muted group index with roaring bitmap #16939

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #16917

The muted group index was using a `absl::flat_has_set` the use of flat
data structure lead to oversized allocation when the number of
muted/skipped raft group was large. Replaced a hash set with roaring
bitmap. The roaring bitmap is efficient and compressed leading to better
performance and smaller allocation.

Fixes: redpanda-data#12005

Signed-off-by: Michal Maslanka <[email protected]>
(cherry picked from commit 745c324)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Mar 7, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Mar 7, 2024
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.7 Mar 7, 2024
@piyushredpanda piyushredpanda merged commit 15f8442 into redpanda-data:v23.3.x Mar 8, 2024
17 checks passed
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