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

Clean up data left behind on shards by failed migrations and failed migration cleanups

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.6, 2.1.2
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      When a migration fails it can leave behind orphaned documents. We should clean those up in the background after we detect that the migration has failed.

      Currently you can get errors if you try to insert a new document onto the shard with orphaned documents and the new document has the same key as an orphaned document on a field with a unique index (like _id).

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: