We have situations where two redis-uve instances are not able to go into active-standby state. When this situations happens , sentinel reports periodic "redirect-to-master" messages. We look for these messages in the OpServer's sentinel client. If we see more than 3 of these messages, without seeing a redis-switchover, we restart the local redis-uve instance. This results in one of the redis-uve instances going active.
We have situations where two redis-uve instances are not able to go into
active-standby state.
When this situations happens , sentinel reports periodic "redirect-to-master"
messages.
We look for these messages in the OpServer's sentinel client.
If we see more than 3 of these messages, without seeing a redis-switchover, we
restart the local redis-uve instance.
This results in one of the redis-uve instances going active.

There are also situations where a redis-uve instance comes up and is not seen by
the sentinels and the current master. It becomes master as well. This is
indicated by the  "slave-restart-as-master" message. We restart redis-uve and
redis-sentinel in that case.

DreamLab/contrail-controller,tcpcloud/contrail-controller,facetothefate/contrail-controller,eonpatapon/contrail-controller,cloudwatt/contrail-controller,aranjan7/contrail-controller-aranjan,sajuptpm/contrail-controller,rombie/contrail-controller,numansiddique/contrail-controller,nischalsheth/contrail-controller,eonpatapon/contrail-controller,aranjan7/contrail-controller-aranjan,codilime/contrail-controller,nischalsheth/contrail-controller,vpramo/contrail-controller,facetothefate/contrail-controller,tcpcloud/contrail-controller,reiaaoyama/contrail-controller,reiaaoyama/contrail-controller,DreamLab/contrail-controller,facetothefate/contrail-controller,srajag/contrail-controller,vmahuli/contrail-controller,tcpcloud/contrail-controller,vpramo/contrail-controller,Juniper/contrail-dev-controller,rombie/contrail-controller,Juniper/contrail-controller-test,cloudwatt/contrail-controller,DreamLab/contrail-controller,rombie/contrail-controller,sajuptpm/contrail-controller,eonpatapon/contrail-controller,cloudwatt/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,DreamLab/contrail-controller,aranjan7/contrail-controller-aranjan,vmahuli/contrail-controller,codilime/contrail-controller,hthompson6/contrail-controller,Juniper/contrail-controller-test,numansiddique/contrail-controller,reiaaoyama/contrail-controller,srajag/contrail-controller,aranjan7/contrail-controller-aranjan,Juniper/contrail-dev-controller,varunarya10/contrail-controller,reiaaoyama/contrail-controller,Juniper/contrail-controller-test,vpramo/contrail-controller,cloudwatt/contrail-controller,nischalsheth/contrail-controller,vpramo/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,srajag/contrail-controller,DreamLab/contrail-controller,codilime/contrail-controller,eonpatapon/contrail-controller,hthompson6/contrail-controller,sajuptpm/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,varunarya10/contrail-controller,codilime/contrail-controller,nischalsheth/contrail-controller,srajag/contrail-controller,rombie/contrail-controller,hthompson6/contrail-controller,rombie/contrail-controller,codilime/contrail-controller,sajuptpm/contrail-controller,vmahuli/contrail-controller,vpramo/contrail-controller,tcpcloud/contrail-controller,nischalsheth/contrail-controller,numansiddique/contrail-controller,hthompson6/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,Juniper/contrail-dev-controller,vmahuli/contrail-controller,vmahuli/contrail-controller,sajuptpm/contrail-controller,sajuptpm/contrail-controller,varunarya10/contrail-controller,nischalsheth/contrail-controller,hthompson6/contrail-controller,numansiddique/contrail-controller,Juniper/contrail-dev-controller,reiaaoyama/contrail-controller,cloudwatt/contrail-controller,Juniper/contrail-controller-test,Juniper/contrail-controller-test,codilime/contrail-controller,rombie/contrail-controller,srajag/contrail-controller,Juniper/contrail-dev-controller,aranjan7/contrail-controller-aranjan,varunarya10/contrail-controller,numansiddique/contrail-controller,eonpatapon/contrail-controller,varunarya10/contrail-controller