Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26848

Exit catchup mode when not syncing more data

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.6, 3.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      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

      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@mongodb.com Siyuan Zhou
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: