jedis cluster failover and recovery example
jedis cluster failover recovery
redis-cli DEBUG SLEEP 30
redis-cli DEBUG SEGFAULT
Compared to JedisPool and JedisSentinelPool where you need to do conn.close()
but in jedisCluster you don’t need to
do that because the redis commands which has state like pubsub
pipeline
are invalid in redis cluster.