You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jacky007 (JIRA)" <ji...@apache.org> on 2014/08/04 07:05:11 UTC

[jira] [Commented] (ZOOKEEPER-1977) Calibrate initLimit dynamically

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084303#comment-14084303 ] 

Jacky007 commented on ZOOKEEPER-1977:
-------------------------------------

In ZAB v1.0:
FOLLOWERINFO  --> Leader
LEADERINFO  <-- Leader
ACK EPOCH  --> Leader
do send snap/diff/trunc
UPTODATE <-- Leader

We can calibrate initLimit by Leader, and tell peers by LEADERINFO.

> Calibrate initLimit dynamically
> -------------------------------
>
>                 Key: ZOOKEEPER-1977
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1977
>             Project: ZooKeeper
>          Issue Type: Wish
>            Reporter: Flavio Junqueira
>
> We have seen a number of times users failing to get an ensemble up because the snapshot transfer times out. We should be able to do better than this and calibrate initLimit dynamically. I was thinking concretely that we could have servers increasing the initLimit value (e.g., doubling or increments of 1) upon socket timeouts. The tricky part here is that we need both ends of the communication to increase it. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)