Hello.
If you rely on Redis Sentinel and need 'High Availability', not 'High Performance', leave slaves to standby.
Redis Sentinel failover target is just master, it means Sentinel decides ODOWN only master, not slave or sentinel.
It's up to you if slaves / sentinels are failing (we can get this by SDOWN, though it's not perfect) and need to resurrect.
It's Redis Sentinel's limitation.
So JedisSentinelPool is not using slave, and completely rely on master.
There're some interval to failover, so some (small) downtime exists during failover.
If you need to read while failover is in progress, you can use Jedis (not JedisSentinelPool) to connecting slave.
Sincerely.
Jungtaek Lim (HeartSaVioR)
2014년 4월 8일 화요일 오후 4시 31분 7초 UTC+9, Mingkui Liu 님의 말: