a watch event is one-time trigger, sent to the client that set the watch, whichoccurs when the data for which the watch was set changes。Watch的三个关键点:
PING消息是指follower的心跳信息;REQUEST消息是follower发送的提议信息,包罗写请求及同步请求;Follower工作流程
ACK消息是follower的对提议的回复,凌驾半数的follower通过,则commit该提议;
REVALIDATE消息是用来延长SESSION有效时间。
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |