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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.10, 6.0.0-rc10, 6.1.0-rc0
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v6.0, v5.0
    • Sharding EMEA 2022-06-13

    Description

      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.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: