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

Sharding migration transfers all document deletions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 30 weeks ago