You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2021/11/21 13:37:11 UTC
[GitHub] [zookeeper] BinyuHuang-nju commented on pull request #1690: ZOOKEEPER-3615: Provide formal specification and verification using TLA+ for Zab
BinyuHuang-nju commented on pull request #1690:
URL: https://github.com/apache/zookeeper/pull/1690#issuecomment-974819434
@Vanlightly That's right! In my opinion, invariant 'Leadership' makes sure there is at most one leader every epoch. So everytime when a proposal created, its zxid is unique and will never be modified. That's why I just compare zxid of two transaction in **TransactionEqual** and we can prove that is enough for verifying differences between transactions.
I will update action when leader processes REQUEST, to let leader propose a unique value everytime, to avoid this misunderstanding. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org