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

release-20.1: server: make SRV resolution for join list non-fatal #48349

Merged
merged 1 commit into from
May 5, 2020

Conversation

vladdy
Copy link
Contributor

@vladdy vladdy commented May 4, 2020

Backport 1/1 commits from #47735.

/cc @cockroachdb/release


Currently, any other failure to do an SRV lookup for the join list than the "host not found" error would cause the resolution to stop. In case of that happening for all records, the node won't be unable to start.

Actually, it is recommended to ignore errors from SRV lookups and continue with regular A lookup
(https://tools.ietf.org/html/rfc2782). This PR makes that change.

Fixes #47550

Release note (bug fix): makes SRV resolution non-fatal for join list records to align with the standard and improve reliability of node startup.

Currently, any other failure to do an SRV lookup for the join
list than the "host not found" error would cause the
resolution to stop. In case of that happening for all records,
the node won't be unable to start.

Actually, it is recommended to ignore errors from SRV lookups
and continue with regular A lookup
(https://tools.ietf.org/html/rfc2782). This PR makes that change.

Fixes cockroachdb#47550

Release note (bug fix): makes SRV resolution non-fatal for join list records
to align with the standard and improve reliability of node startup.
@vladdy vladdy requested a review from knz May 4, 2020 15:23
@vladdy vladdy requested a review from a team as a code owner May 4, 2020 15:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@vladdy vladdy merged commit 74fdbe3 into cockroachdb:release-20.1 May 5, 2020
@vladdy vladdy deleted the backport20.1-47735 branch May 5, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants