Edward Carter created ZOOKEEPER-1928:
----------------------------------------
Summary: add configurable throttling to the number of snapshots
concurrently sent by a leader
Key: ZOOKEEPER-1928
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1928
Project: ZooKeeper
Issue Type: Improvement
Components: server
Reporter: Edward Carter
We want to add configurable throttling to the number of snapshots concurrently
sent by a leader. Without this, when recovering from a partial outage or
network partition, the leader can become overloaded and unresponsive due to its
attempts to send snapshots to too many followers and observers all at once.
The throttle will operate by terminating the connection of any observer
receiving a snapshot deemed to be in excess of the throttle. Followers should
be allowed to receive snapshots unconditionally, though those snapshots do
count against the quota.
I have a patch ready which implements this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)