-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ScriptLoad call ForEachShard, slaves will return io timeout #3230
Comments
@Bensonzjy thank you for reaching out. Could you please describe your problem, provide source code and version information? |
go-redis version: v9.7.0 https://github.com/redis/go-redis/blob/v9.7.0/osscluster_commands.go#L35 |
@Bensonzjy have you checked https://redis.uptrace.dev/guide/go-redis.html#dial-tcp-i-o-timeout ? Are you able to connect to the slaves? In general, the error you are getting is not related to the |
my redis cluster info: one master and other one slave, The ForEachShard method will traverse all nodes, including read-only slave nodes. |
@Bensonzjy you are correct that the
Take a look at |
why ScriptLoad call ForEachShard -> (masters, slaves), slaves readonly, aws redis oss return io timeout, call ForEachMaster better ?
The text was updated successfully, but these errors were encountered: