Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10844

Stepdown command must take global lock in exclusive mode (SERVER-28544)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.14
    • None
    • manual, Server
    • None

    Description

      Documentation Request Summary:

      stepdown command no longer blocks writes while waiting for secondaries to catch up, instead writes will start failing with NotMaster immediately, but if no secondaries catch up within the secondary catch up time period then the node will step back up automatically and start accepting writes again.

      Engineering Ticket Description:

      Currently the stepdown command runs with the global lock in shared mode, which violates the concurrency rules for the _canAcceptNonLocalWrites variable.

      Attachments

        Activity

          People

            jonathan.destefano@mongodb.com Jonathan DeStefano
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 5 days ago