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

Shutdown should ignore PrimarySteppedDown on stepdown failure

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication

    Description

      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.

       

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: