Skip to content

Commit

Permalink
Issue #1252: Random node + rediscovery on connection exception replac…
Browse files Browse the repository at this point in the history
…ed with rediscovery at the end (#1256)

* Issue #1252:
1. New special exception for “No reachable nodes”
2. Fixed situation when simple connection exception with tryRandomNode=true proceed as just no reachable nodes
3. Don’t try random node with immediate initiate cluster renewal after that if we got ConnectionTimeout from proper slot jedis
4. Fix rewriting real root cause JedisConnectionException with JedisClusterMaxRedirectionsException

Conflicts:
	src/main/java/redis/clients/jedis/BinaryJedisCluster.java
	src/main/java/redis/clients/jedis/JedisCluster.java
  • Loading branch information
Spikhalskiy authored and marcosnils committed Jul 19, 2016
1 parent 848fca2 commit 244efbd
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 384 deletions.

0 comments on commit 244efbd

Please sign in to comment.