Hi
I am new to Redis , I am trying to use it for websession replication with tomcat server by storing tomcat session in redis.
My setup looks like as follows
1) master with sentinel
2) slave1 with sentinel
3) slave2 with sentinel
A normal transaction works fine . But when I trigger a failover my killing master process id.
Failover process starts and while failover is in progress I submit a transaction but as master is unavailable it fails.
I dont want any downtime whn failover is in progress .
Is it possible to achieve this ?
I set sentinel down-after-milliseconds to 5000
How low i can set down-after-milliseconds in order to trigger a quick failover
I am using Redis Session Manager in tomcat context xml.
<Valve
className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
<Manager
className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
maxInactiveInterval="60" sentinelMaster="mymaster"
Regards,