I have 6 nodes running in amazon cloud. it has internal ip and public ip. cluster is created with internal ip and bind attribute is also set to internal ip.
written jedis cluster with public ip as we can not connect using the internal ip.
i am coming across the JedisClusterMaxRedirectionsException.
but when i increase the maxReDirection to 100, i just run success. but i am doubting is it correct to increase the value.
Is there any performance affected? or any work around i can do?
redis.clients.jedis.exceptions.JedisClusterMaxRedirectionsException: Too many Cluster redirections?
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:97)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:152)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:152)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:131)
at redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:30)
at redis.clients.jedis.JedisCluster.set(JedisCluster.java:60)
at com.sling.studio.jedis.data.impl.RStringImpl.set(RStringImpl.java:16)
at com.sling.studio.jedis.data.impl.RStringTest.testShouldSetAndDeleteTheKeyForAString(RStringTest.java:19)