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] rptest: handle errors and retry them in list offsets request #17691

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #17494
Fixes: #17690,

After broker restart it might take a while before the group offsets are
available during which redpanda will reply with
`error_code::not_coordinator`[^0] using the message top-level error_code
field.

[^0]: https://github.com/redpanda-data/redpanda/blob/501b9d35882a303def6061bdc522f67f0502ac1c/src/v/kafka/server/group_manager.cc#L1653

(cherry picked from commit f9cc1b5)
After broker restart it might take a while before the group offsets
are available during which redpanda will reply with
`error_code::not_coordinator`[^0]. We need to keep retrying after they
become available.

Fixes redpanda-data#17466

[^0]: https://github.com/redpanda-data/redpanda/blob/501b9d35882a303def6061bdc522f67f0502ac1c/src/v/kafka/server/group_manager.cc#L1653

(cherry picked from commit 97b4c33)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Apr 6, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 6, 2024
@nvartolomei nvartolomei merged commit f5df263 into redpanda-data:v23.2.x Apr 6, 2024
23 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.28 Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants