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

XMLWordPrintableJSON

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

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: