:534),在redis.clients.jedis.util.Pool.returnResourceObject(Pool.java:68),在redis.clients.jedis.JedisPool.returnResource(BinaryJedis.java:255) redis.clients.jedis.JedisFactory.destroyObject(JedisFactory.java:99) at org.apache.commons.pool2.impl.Gene
我有一个Redis集群,有一个主机(ip: 192.168.56.101)和两个从(ip: 192.168.56.102,192.168.56.103),我使用jedis连接主机读写数据。JedisPool pool = new JedisPool(new JedisPoolConfig(), "192.168.56.101");
有一天,我的主节点死了,所以jedis无法连接到集群
pool= new JedisPool(new JedisPoolConfig(),"myendpoint.aws.com",6379,Protocol.DEFAULT_TIMEOUT);{ JsonArray listofTask=gt.getTutorialsString,String> attributes = new HashMap<>