Flavio Paiva Junqueira commented on ZOOKEEPER-87:

If you throttle at the follower, then the queue on the leader side will build 
up, and you won't have the problem you mention. The approach I describe seems 
to be safer as you don't have to wait for the next Leader.PING period to make a 
decision. It is true that the leader can send a ping at any time it wants, but 
if the leader is clueless as you say, then it will wait for the next ping 
period and it won't send any exceptional pings.

> Follower does not shut itself down if its too far behind the leader.
> --------------------------------------------------------------------
>                 Key: ZOOKEEPER-87
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-87
>             Project: Zookeeper
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Critical
>             Fix For: 3.0.0
> Currently, the follower if lagging behind keeps sending pings to the leader 
> it will stay alive and will keep getting further and further behind the 
> leader. The follower should shut itself down if it is not able to keep up to 
> the leader within some limit so that gurantee of updates can be made to the 
> clients connected to different servers.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to