[
https://issues.apache.org/jira/browse/ZOOKEEPER-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093028#comment-14093028
]
Flavio Junqueira commented on ZOOKEEPER-1977:
---------------------------------------------
[~fanster.z], do you have a patch you're willing to share? It'd be great to
depart from what you have.
[~hdeng], the prospective leader increases the initLimit value as [~fanster.z]
describes in his comment and propagates it. I was trying to propose a scheme
that doesn't require estimating the transfer time and that can adjust
dynamically.
> 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)