ReplicationCoordinatorImpl::_requestRemotePrimaryStepdown doesn't work

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: