zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shraer <shra...@gmail.com>
Subject Re: Question about the two-phrase commit
Date Tue, 06 Jan 2015 23:48:50 GMT
Yes, if the leader has this operation in its log (not guaranteed if it
wasn't acked by majority in previous ensemble, but possible), the leader
will make sure that a quorum of followers in the new ensemble has this
operation before doing anything else in the new ensemble.


On Tue, Jan 6, 2015 at 3:42 PM, Ibrahim <i.s.el-sanosi@newcastle.ac.uk>

>  Hi Alexander,
> So, you meant that if there is operation loged to the disk but it hasn't
> got
> enough majority, then if the zookeeper servers restart, the new leader will
> re-broadcast the loged operation again to the followers to commit that
> operation.
> Does above what you meant by (NEWLEADER message acts as the accept and
> UPTODATE message acts as commit).
> Am I right?
> Thank you
> Ibrahim
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Question-about-the-two-phrase-commit-tp7580725p7580739.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message