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

Exit catchup mode when not syncing more data

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.6, 3.5.7
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-01-23, Repl 2017-02-13, Repl 2017-03-06, Repl 2017-03-27, Repl 2017-04-17, Repl 2017-05-08
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: