Mahadev konar commented on ZOOKEEPER-87:

throttling at the follower is a little tricky. do you mean the follower will 
stop reading requests ? 

since you do not know what is on the tcp stack --- 

when you do a send it might be buffered on either of the tcp stacks on the 
leader and the follower. so you do not know how many txn's are buffered up the 
tcp stack. So throttling is a tricky thing with the follower and leader.  also 
the rsponse to leader.PING are critical with session management.

> 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