恢复集群状态,2.128为主,2.129、2.130为从。 

此时,从2.128上看sentinel状态:

 

由于sentinel都是对等的,在此选择对2.128上的sentinel进行进程宕测试:

 

此时,本节点sentinel日志为:

 

其他节点sentinel日志为:

 

表示2.128上的sentnel已经宕。

 

此时集群读写正常,在一个sentinel宕机的基础上宕master后切换正常。