On 7/28/22 13:33, Shawn Heisey wrote:
Node 1 is most likely informed that its database is now out of date
(or it decides that for itself) so it syncs the whole DB from the
current leader, which will not know about the znode created in step B.
Not in any way a ZK expert. But that seems like the most logical way
for it to work.
I'm just guessing that there is some timestamp which declares the last
time a database was running with quorum and that comparing those
timestamps is how ZK decides that a node's database is out of date. I
am curious as to whether I have deduced things incorrectly.
Further extrapolation ... I would guess that if at any point the entire
cluster goes down or runs without quorum, any node that later starts up
and joins the cluster will have its DB overwritten and be identical to
whatever nodes ARE running. A question for the experts on the list ...
is that correct?
Thanks,
Shawn