Skip to content

Commit 0399e71

Browse files
authored
Merge pull request 0voice#69 from SJshenjian/patch-5
修正回滚同步条件
2 parents 2929ea3 + 99884ac commit 0399e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

12.Zookeeper篇/12.2.6 zk同步流程.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
- 说明:证明二者数据差异不大,follower上有一些leader上已经提交的提议proposal未同步,此时需要增量提交这些提议即可
2929

3030
3、TRUNC-仅回滚同步
31-
- 条件:peerLastZxid>minCommittedLog
32-
- 说明:证明follower上有些提议proposal并未在leader上提交,follower需要回滚到zxid为minCommittedLog对应的事务操作
31+
- 条件:peerLastZxid>maxCommittedLog
32+
- 说明:证明follower上有些提议proposal并未在leader上提交,follower需要回滚到zxid为maxCommittedLog对应的事务操作
3333

3434
4、TRUNC+DIFF-回滚+增量同步
3535
- 条件:minCommittedLog<=peerLastZxid<=maxCommittedLog

0 commit comments

Comments
 (0)