zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject what would happen with this case ? (ZAB protocol question)
Date Tue, 19 Jul 2011 21:44:36 GMT
like the first figure in the ZAB paper described,
say we have node A B C, A is leader now

all 3 nodes see proposals P1, P2, an all acked both,
A sees acks for P1, and commits it, but right after this A dies.

now B is elected, B does not see any commit, so (according to my
possibly wrong understanding from the code)
B throws away P1 P2, and starts a new epoch.
is this the current behavior of code?

but then the commit of P1 on A is lost?

Thanks
Yang

Mime
View raw message