-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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.