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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding EMEA
    • ALL

      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. 

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

              Created:
              Updated:
              Resolved: