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

cleanupOrphaned does not work properly in edge case with concurrent migrations on a shard

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding EMEA
    • ALL

    Description

      When a shard has an incoming and an outgoing migration for the same collection on the same shard, cleanupOrphaned does not work properly. Repro attached.

      Affects all 4.2 and earlier versions. 

      In 4.4 with Resumable range deleter on with FCV=4.4, this is no longer an issue. 

      Attachments

        Activity

          People

            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: