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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.14
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              6 years, 11 weeks, 6 days ago