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

Sharding migration transfers all document deletions

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

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 41 weeks, 1 day ago