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] k/group_manager: used chunked_vector when cleaning groups #17584

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #16920
Fixes: #17583,

@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Apr 3, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 3, 2024
@mmaslankaprv mmaslankaprv modified the milestones: v23.3.x-next, v23.3.11 Apr 3, 2024
Consumer groups are removed when a topic that they are related with is
removed from topics table. Previously the code cleaning up consumer
groups was using a plain `std::vector` to store deltas coming from the
`cluster::topics_table` notification. That lead to large allocation.
Replaced the `std::vector` with chunked vector to make allocation size
controlled.

Fixes: redpanda-data#15946

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit 2e2f7eb)
@mmaslankaprv mmaslankaprv force-pushed the backport-pr-16920-v23.3.x-510 branch from bf647d6 to b53a6e0 Compare April 3, 2024 16:08
@piyushredpanda
Copy link
Contributor

Known failures: #16961, #12897, #17222

@piyushredpanda piyushredpanda merged commit 43cfb1e into redpanda-data:v23.3.x Apr 3, 2024
12 of 16 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.

None yet

3 participants