Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> timeout per transaction?


Copy link to this message
-
timeout per transaction?
Hello,

According to the System Administrator's Guide:
syncTime -> Amount of time, in ticks (see
tickTime<http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#id_tickTime>),
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.