Skip to content

When the connection to a sentinel times out, attempt to connect to other sentinel#3654

Merged
ndyakov merged 2 commits intoredis:masterfrom
cxljs:dial-timeout
Jan 19, 2026
Merged

When the connection to a sentinel times out, attempt to connect to other sentinel#3654
ndyakov merged 2 commits intoredis:masterfrom
cxljs:dial-timeout

Conversation

@cxljs
Copy link
Copy Markdown
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
Copy Markdown
Member

ndyakov commented Dec 21, 2025

Thank you @cxljs , will review next week

…her Sentinel

Signed-off-by: Xiaolong Chen <fukua95@gmail.com>
@ndyakov ndyakov added the bug label Jan 19, 2026
@ndyakov ndyakov merged commit d1bc452 into redis:master Jan 19, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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