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

Maintenance commands should drain running ops before starting

    • Replication

      Commands like compact which change to replica state to recovering/maint. should drain all operations (which might get caught yielding) before they start. This is the logical step of operations:

      1. Transitions mode (Recovering) *
      2. Pause replication
      3. Wait on active user operations to finish
      4. Start work (which will probably locks large swaths of collections/dbs)
      • Once the first step is done new requests will be rejected

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: