Closed nbogojevic closed 6 years ago
Not sure this should be addressed in client. CLUSTERDOWN means that either cluster is fully down or one of the masters missing (partial coverage), other masters are aware of the issue and we might be waiting for failover.
We can disable this functionality of waiting for full coverage via redis.conf and following option:
cluster-require-full-coverage no
Some of the issues during cluster failover have bee solved in #18
Will keep behavior as it is.
When CLUSTERDOWN message occurs, latest operation should retried instead of failing immediately. Best place to do this could be in src/main/java/com/amadeus/session/repository/redis/JedisClusterFacade.java.
See following explanation:
https://groups.google.com/forum/#!msg/redis-db/FDK59yE9pus/WgDQIfJujboJ