Skip to content

Conversation

@cxljs
Copy link
Contributor

@cxljs cxljs commented Dec 21, 2025

closes #3439 and #3652

According to Go's commit golang/go@85b5f86, the error value returned by dial timeout is also a context error, so we need to use ctx.Err() to distinguish whether it is a dial timeout or a user-set deadline.

@ndyakov
Copy link
Member

ndyakov commented Dec 21, 2025

Thank you @cxljs , will review next week

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.

FailoverClient (with ReplicaOnly) times out on unavailable Sentinel and terminates search for a live one

2 participants