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

Change shutdown/stepdown to block writes and wait until at least 1 electable secondary is fully caught up

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.8
    • Component/s: Concurrency, Replication
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      Currently shutdown starts by waiting for at least 1 secondary to be within 10 seconds of its optime (while still accepting new writes), then it steps down, then it waits again for a secondary to be completely caught up before shutting down. Once the new concurrency system allows it, we should start by blocking new incoming writes while retaining PRIMARY status, and wait until a secondary is completely caught up before stepping down and then shutting down.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: