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

Add read/write timeout for master_resolver(redisMasterFromSentinelAddr) #9

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

itshikanov
Copy link

Hello.

When i'm stopping sentinel, get stuck of funcion master_resolver.go(redisMasterFromSentinelAddr) in some cases.

After debugging, i'm realize that the problem was the timeout for reading from the connection.

My pull request is resolve this problem

@marriva
Copy link
Collaborator

marriva commented Dec 23, 2024

Hello. It's better not to use tools like this and switch to something like this https://github.com/trublast/redis-endpoint-operator.

Anyway, thank you for your pull request!

@marriva marriva merged commit 8e55241 into flant:master Dec 23, 2024
1 check passed
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.

3 participants