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

Shutdown should ignore PrimarySteppedDown on stepdown failure

    • Type: Icon: Question Question
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication

      We currently ignore NotMaster on shutdown, and now the shutdown command sometimes fails with PrimarySteppedDown: While waiting for secondaries to catch up before stepping down, this node decided to step down for other reasons. Since the primary isn't the primary, we should just ignore this error and continue shutting down so our shutdown code is more reliable.

       

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: