zookeeper icon indicating copy to clipboard operation
zookeeper copied to clipboard

ZOOKEEPER-3417:[WIP]add the new doc:zookeeperProtocols to introduce the implementation details of ZAB comparing with the raft

Open maoling opened this issue 6 years ago • 3 comments

  • this is still a work in the progress,Plz don't review before removing the WIP tag.
  • more details in the ZOOKEEPER-3417

maoling avatar Jun 09 '19 15:06 maoling

Consider adding another wiki page similar as Paxos vs ZAB: https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zab+vs.+Paxos This might be better than adding a doc using a pull request (let me know if you need wiki editing access).

Also, before going into implementation details, it's worth to compare ZAB / Raft at specification level. One thing I wanted to do but did not get a chance was to write a TLA+ spec for ZAB (Raft has one already). Maybe we should consider this as part of this task.

hanm avatar Jun 11 '19 23:06 hanm

  • Yep, I saw [raft TLA+ spec](the https://github.com/ongardie/raft.tla/blob/master/raft.tla) .writing a one for the ZAB is a challenging work which I'm also interested in.:D
  • The intention of this PR will also introduces the ZAB from the four parts:leader election, log replication, safety, membership change. we will discussion the details: how to elect a leader.how many RPC typs and their parameters,how to ensure the consistency,how to process some tricky corner cases.etc

maoling avatar Jun 12 '19 02:06 maoling

@maoling This is great documentation work, please keep up.

anmolnar avatar Jul 02 '19 05:07 anmolnar