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.1.x] admin: fixed mapping of service unavailable error code #18102

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18094
Fixes: #18100,

@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Apr 26, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 26, 2024
Previously the service_unavailable error code was mapped to generic
unexpected server error. This lead to a situation in which a lot of
errors were logged when broker was restarted as it has an RPC server
running but without the services registered. Changed the mapping of
`rpc::errc::service_unavailable` to HTTP service unavailable error.

Fixes: redpanda-data#17739

Signed-off-by: Michał Maślanka <michal@redpanda.com>
(cherry picked from commit 1a9f248)
@piyushredpanda piyushredpanda merged commit 37205c5 into redpanda-data:v24.1.x May 3, 2024
17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.1.x-next, v24.1.2 May 3, 2024
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.

None yet

3 participants