You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
lazyky
changed the title
Error reconnect in High availability with Redis Sentinel
Error reconnect in the master-replica model of Redis-Server with Redis Sentinel
Dec 28, 2023
Description
When the master node of redis-server crash, reconnecting will not obtain the address of the updated master node and generate an error:
To Reproduce
According to the document of redis.
Additional context
SentinelConnection
SentinelConnection::reconnect()
and found that reconnecting usingStandaloneConnection::reconnect()
does not re-obtain the host and port of the updated master nodeClusterConnection
ClusterConnection::connect_to_cluster()
inClusterConnection::reconnect()
to re-obtain the host and port of the nodeThe text was updated successfully, but these errors were encountered: