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

[v22.3.x] Backport of #8689 Remove duplicate responses sent by offset_fetch request handler #8794

Merged

Conversation

graphcareful
Copy link
Contributor

@graphcareful graphcareful commented Feb 10, 2023

Backport of PR #8689

Release Notes

Bug Fixes

  • Fix for bug where duplicate responses were sent in offset_fetch responses

@graphcareful graphcareful requested review from ayubpathan and removed request for a team February 10, 2023 15:53
@CLAassistant
Copy link

CLAassistant commented Feb 10, 2023

CLA assistant check
All committers have signed the CLA.

- This request handler returns a response that contains an array of
topics and within each topic, another array of partitions.

- Within each array of partitions, a duplicate entry was being created,
since push_back was invoked right after emplace_back, twice for each
iteration of the loop to intitialize all partitions

(cherry picked from commit 509dc8d)
@graphcareful graphcareful merged commit 55056b9 into redpanda-data:v22.3.x Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants