Exit catchup mode when not syncing more data

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.6, 3.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Minor Change
    • v3.4
    • Repl 2017-01-23, Repl 2017-02-13, Repl 2017-03-06, Repl 2017-03-27, Repl 2017-04-17, Repl 2017-05-08
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we expose one parameter to the replica set config - catchUpTimeoutMillis (defaults to 2 seconds) - which controls how long to stay in catchup mode after winning an election.

      We should exit catchup mode when the primary finds itself the most up-to-date after refreshing heaertbeats.

              Assignee:
              Siyuan Zhou
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: