jedis
jedis copied to clipboard
SSUBSCRIBE failover
in cluster mode, what is the correct way to resubscribe to new node when a switch in master happens? when the master becomes slave, we receive SUNSUBSCRIBE message. When we try to reconnect, it reconnect to the old node which is no longer in the cluster and does not receive message.