Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1184

Clustering : When it is detected that a follower is too far behind send it a snapshot instead of append entries

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • Post-Helium
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 2788
    • Low

    Description

      This is an optimization to get a slow follower to catch up a little faster.

      The basic idea is as follows. Let's say we have a Follower which is about n entries behind the Leader and those n entries happen to have a dataSize which is greater than the size of the state snapshot. Then it would be more optimal to send the Follower a snapshot than to send it the n append entries (either 1 by 1 or even in batches)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: