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

Migrations for collection undergoing range deletion must not stall in v6.0

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.2
    • Component/s: None
    • ALL
    • Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14

      Thanks jordi.serra-torrens@mongodb.com for reporting this.

      On v6.0, the ScopedRangeDeleter lock is held while executing the range deletion for a collection C. This lock takes this RESOURCE_MUTEX in MODE_X.

      This can lead to stalling concurrent migrations on collection C here, or here, or here until the range deletion task ends.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: