zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Wassermann <baruc...@hotmail.com>
Subject Leader election scenario
Date Mon, 01 Feb 2016 13:04:20 GMT
My apologies, if this should be non-sensical, but what would happen in the following scenario?

A leader election takes place in a three-server ensemble as the previous leader, s1, has been
partitioned off. The previous leader had a later zxid than the remaining servers. The remaining
servers exchange election notifications and elect s3 to be the new leader, form a quorum consisting
of s2 and s3 and accept write requests. 

s1, zxid=4s2, zxid=3s3, zxid=3

Is it the case that at least one of s2 or s3 should have seen and agreed to the write leading
to zxid=4 and that the new quorum will thus write zxid=4 first before handling other requests?

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