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.
Alex On Tue, Jan 6, 2015 at 3:42 PM, Ibrahim <[email protected]> wrote: > 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. >
