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

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: