sentinel探测消息,有ping,hello,failover三类。根据源码,画了下面的xmind流程图
ping是为了保活检查。
hello通道是下发master的config配置。
failover是为了进行容灾切换。
sentinelEvent函数,不是业务流程交互环节。
参考信息:http://www.blogjava.net/jinfeng_wang/archive/2016/12/14/432108.html
sentinel探测消息,有ping,hello,failover三类。根据源码,画了下面的xmind流程图
ping是为了保活检查。
hello通道是下发master的config配置。
failover是为了进行容灾切换。
sentinelEvent函数,不是业务流程交互环节。
参考信息:http://www.blogjava.net/jinfeng_wang/archive/2016/12/14/432108.html