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

Try to stepdown before shutting down, even when using 'force'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.8.0-rc2
    • Replication
    • None
    • Fully Compatible
    • ALL

    Description

      Currently if you specify

      {force:true}

      to the shutdown command, we completely skip the step of trying to wait for a secondary to catch up and step down before shutting down the primary. Instead we should block writes and try to wait for a secondary to catch up, but then proceed anyway even if no secondary does actually catch up in time. This will match the behavior of stepdown which was changed in 2.8 to behave like this already.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: