-
Notifications
You must be signed in to change notification settings - Fork 553
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
kafka: chunked_vector for config responses #17245
kafka: chunked_vector for config responses #17245
Conversation
This is necessary to allow using chunked_vector with these encoder methods. This continues the work started in the following reference PR: redpanda-data#8469
This changes two cases where the topics response was copied but instead could be moved. This is necessary to enable us to switch to using chunked_vector instead of std::vector, which only supports move semantics, not copy.
70efe49
to
97ba86b
Compare
Looking. Could be a bug in the script |
Force-pushed to fix the includes highlighted by the linter |
Oh cool, thanks. Looks like the linter was working correctly! |
Yep, very useful 🙂 |
97ba86b
to
1042d9d
Compare
Force-pushed to make the unit tests compile |
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46626#018e673a-668d-4551-87ab-bd6b94a76846 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46626#018e673a-668a-4fa1-a6d7-ecef0afdcd49 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46626#018e674c-1f4d-4e4d-9b74-e93aa0b35544 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46670#018e6ce0-87e4-447f-8435-76583d490d66 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46670#018e6cf3-5abf-48be-bbf8-e9b10b8b7747 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46670#018e6cf3-5abd-46aa-af16-12c110dd221d |
/ci-repeat 1 |
/backport v23.3.x |
This updates the
CreateTopics
andDescribeConfigs
kafka api handlers to usechunked_vector
instead ofstd::vector
for the creation of their responses. This is to avoid fragmentation-related issues when the number of topics or partitions is large and so large allocations are necessary to generate the response.Closes https://github.com/redpanda-data/core-internal/issues/1174
Backports Required
Release Notes