ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 同步流程 选完leader以后,zk就进入状态同步过程 1. leader等待server连接; 2. Follower连接leader,将最大的zxid发送给leader; 3. Leader根据follower的zxid确定同步点; 4. 完成同步后通知follower 已经成为uptodate状态; 5. Follower收到uptodate消息后,又可以重新接受client的请求进行服务了。 流程图如下所示: ![](https://img.kancloud.cn/4b/90/4b90025f568fa1be669f3b9c77390334_379x141.png)