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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: 2.0.6, 2.1.2
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: