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

Add bounds to batched deletion passes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-04-18, Execution Team 2022-05-02, Execution Team 2022-05-16

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: