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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      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

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: