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

ReplicationCoordinatorImpl::_requestRemotePrimaryStepdown doesn't work

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.13, 3.3.8
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.2
    • Repl 13 (04/22/16), Repl 14 (05/13/16), Repl 15 (06/03/16)

      This generates a stepdown command which fails:

      { ok: 0.0, errmsg: "stepdown period must be longer than secondaryCatchUpPeriodSecs", code: 2 }
      

      This is called by a member with a higher priority that is not currently the primary so it can have a change to do a priority takeover, and to be elected. The fact that this is currently broken doesn't affect the system because the primary will also step-down on its own when it sees a higher priority member that can be elected. Fixing this might improve the timeliness of the step-down and forthcoming election.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: