Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1928

add configurable throttling to the number of snapshots concurrently sent by a leader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • server
    • None

    Description

      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.

      Attachments

        1. ZOOKEEPER-1928.patch
          17 kB
          Edward Carter
        2. ZOOKEEPER-1928.patch
          22 kB
          Edward Carter
        3. ZOOKEEPER-1928.patch
          22 kB
          Edward Carter

        Activity

          People

            ecarter Edward Carter
            ecarter Edward Carter
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified