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

Exit catchup mode when not syncing more data

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.4.6, 3.5.7
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              siyuan.zhou@mongodb.com Siyuan Zhou
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: