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.2.x] [CORE-7750] Creating topic with huge number of partitions leads to segfault #24232

Merged

Conversation

IoannisRP
Copy link
Contributor

Backport of PR #24135

@IoannisRP IoannisRP added this to the v24.2.x-next milestone Nov 21, 2024
@IoannisRP IoannisRP added the kind/backport PRs targeting a stable branch label Nov 21, 2024
@IoannisRP IoannisRP marked this pull request as ready for review November 21, 2024 12:29
move static make_allocation_request helper functions into an
anonymous namespace

(cherry picked from commit ef6a6ac)
Create a new partition allocation path. The new path doesn't explicitly
instantiate a full allocation_request upfront, as the size of this request
scales with the number of requested partitions. This allows to check for
system limitations and reject a request earlier, without the need to
create a potentially resource-intense allocation_request.

(cherry picked from commit fc10478)
Where applicable, use the simple_allocation_request interface.

(cherry picked from commit 16a95fb)
@IoannisRP IoannisRP force-pushed the manual-backport-24135-v24.2.x-308 branch from 195b816 to 7ed1d4a Compare November 21, 2024 13:26
@IoannisRP
Copy link
Contributor Author

allocation_request object used to have an extra argument in the constructor.

@IoannisRP IoannisRP merged commit 72501f3 into redpanda-data:v24.2.x Nov 21, 2024
16 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.2.x-next, v24.2.12 Nov 26, 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