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

Add bounds to batched deletion passes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2022-04-18, Execution Team 2022-05-02, Execution Team 2022-05-16

      in order to improve fairness when deleting multiple large collections, add targetBytes, targetDocs, targetTimeMS parameters defaulting to infinite.

      These parameters differ from the existing batch parameters. A pass can consist of multiple batches. The pass parameters are similar to $limit, in that they limit how much we delete. Instead of only limiting the number of documents deleted, the pass parameters give the flexibility to limit on the time the operation takes and the bytes deleted (potentially) etc.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: