Expected behavior
Jedis works normally
Actual behavior
Throw exception: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused
Steps to reproduce:
Please create a reproducible case of your problem. Make sure
that case repeats consistently and it's not random
1.create a redis cluster with two servers , 3 master nodes on one server, 3 slave nodes on another
2.kill 3 slave nodes
3.jedis client throws exception , but not all jedis connections
Redis / Jedis Configuration
Jedis version: 2.9.0
Redis version: Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64
Java version: 1.8.0
