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

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

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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: