The range deleter waits between batches while holding the collection IX lock

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v6.0, v5.0
    • Sharding EMEA 2022-06-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In order to obey the rangeDeleterBatchDelayMS parameter, the range deleter sleeps between batches. However, it is doing so while under the collection lock. This means concurrent migrations (or rather anything that needs to take a strong lock) will block for up to that amount of time (default of 20ms). Instead, the wait should be happening after the lock is dropped.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: