Skip to content

Commit

Permalink
Merge pull request #6737 from vbotbuildovich/backport-6508-v22.1.x-205
Browse files Browse the repository at this point in the history
[v22.1.x] Remap `raft::errc::replicated_entry_truncated` error code to a retry-able kafka one
  • Loading branch information
Rob Blafford authored Oct 14, 2022
2 parents 40062c7 + 0585584 commit fbf50e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/kafka/server/group.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1788,13 +1788,13 @@ kafka::error_code map_store_offset_error_code(std::error_code ec) {
case raft::errc::shutting_down:
return error_code::request_timed_out;
case raft::errc::not_leader:
case raft::errc::replicated_entry_truncated:
return error_code::not_coordinator;
case raft::errc::disconnected_endpoint:
case raft::errc::exponential_backoff:
case raft::errc::non_majority_replication:
case raft::errc::vote_dispatch_error:
case raft::errc::append_entries_dispatch_error:
case raft::errc::replicated_entry_truncated:
case raft::errc::leader_flush_failed:
case raft::errc::leader_append_failed:
case raft::errc::configuration_change_in_progress:
Expand Down

0 comments on commit fbf50e6

Please sign in to comment.