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] k/group: fixed mapping of transactional control batch replication errors #22624

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #22618

When replication of transactional control batch fails group coordinator
steps down and return an error to transaction coordinator. Fixed the
incorrect mapping of replication errors which may lead to returning an
`unknown_server_error` to client.

With the new mapping policy the error handling in consistent for all the
replication batches. All the errors are translated to
`not_coordinator_error`. The errors indicating uncertain outcome like
shutting down and timeout are translated to timeout to let the client
know that the outcome of operation must be verified.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
(cherry picked from commit 93a0c7a)
@vbotbuildovich vbotbuildovich added this to the v24.2.x-next milestone Jul 29, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 29, 2024
@piyushredpanda piyushredpanda merged commit f758a43 into redpanda-data:v24.2.x Jul 29, 2024
19 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.

3 participants