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

XMLWordPrintableJSON

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

      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 Tan
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: