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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

            Assignee:
            spencer Spencer Brody (Inactive)
            Reporter:
            spencer Spencer Brody (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: