Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8950

Sharding migration transfers all document deletions

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      During chunk migration, the donor shard will record all document deletions and transfer them to the recipient, regardless of whether the deletions are relevant to the chunk being migrated or not.

      This causes significant load on both shards.

      The reason for this is that the document being deleted is no longer available on the donor shard.

      One solution would be that in the logOp call we should pass the shard key of the document being deleted so it can be filtered out.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              emily.hall Emily Hall
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 3 weeks, 5 days ago
                Date of 1st Reply: