Maintenance commands should drain running ops before starting

XMLWordPrintableJSON

    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: