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] CORE-5749 retry on dns failure #22521

Conversation

vbotbuildovich
Copy link
Collaborator

@vbotbuildovich vbotbuildovich commented Jul 26, 2024

Backport of PR #22327

Fixes: CORE-6658

During a rolling upgrade in cloud, it was observed that RP's kafka
client would attempt to connect to the 'reserve' node after it was
decomissioned.  This was because the error code (C-Ares ENOTFOUND) was
not treated as a retriable error.  This change checks for the above
error code when attempting to connect to a broker and if it is
encountered, treats it as a retriable error.

Signed-off-by: Michael Boquard <michael@redpanda.com>
(cherry picked from commit d79ab90)
Signed-off-by: Michael Boquard <michael@redpanda.com>
(cherry picked from commit da09267)
@vbotbuildovich vbotbuildovich added this to the v24.2.x-next milestone Jul 26, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 26, 2024
@michael-redpanda michael-redpanda self-assigned this Jul 26, 2024
@michael-redpanda michael-redpanda merged commit 132d37a into redpanda-data:v24.2.x Jul 26, 2024
20 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