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/s/leader_balancer: prevent oversized alloc #15873

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #15862

When there are many topics within in a system we can get oversized
allocations, so switch to a btree_map.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit c892e63)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Dec 22, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Dec 22, 2023
@rockwotj rockwotj self-requested a review December 22, 2023 14:24
@rockwotj rockwotj marked this pull request as ready for review December 22, 2023 14:24
@rockwotj rockwotj merged commit 991c1ab into redpanda-data:v23.2.x Dec 22, 2023
24 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.23 Jan 20, 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