zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From German Blanco <german.blanco.bla...@gmail.com>
Subject timeout per transaction?
Date Tue, 16 Apr 2013 11:32:23 GMT

According to the System Administrator's Guide:
syncTime -> Amount of time, in ticks (see
to allow followers to sync with ZooKeeper. If followers fall too far behind
a leader, they will be dropped.

In order to check what is the time or number of transactions that a
follower may fall behind, I did some tests. I couldn't find a way to make a
transaction timeout in the Leader. It seems that the Leader adds
transactions to the list of outstanding proposals and they stay there until
a commit arrives or otherwise forever.

As long as Followers respond to the sync request, the quorum keeps running.

Is this really the behaviour? What is then the way in which it is
guaranteed that followers do not "fall too far behind a leader"?

Thanks in advance for your help.

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