Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21382

Sharding migration transfers all document deletions

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Minor Change
    • Backport Completed:
    • Sprint:
      Sharding D (12/11/15), Sharding E (01/08/16)

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: