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

Require conflict stash collections to be empty for recipients to allow resharding operation to succeed

    XMLWordPrintable

Details

    • Fully Compatible
    • Sharding 2021-02-22, Sharding 2021-03-08
    • 1

    Description

      The role of the conflict stash collections in resharding's oplog application is to handle any transient duplicate _id values. Transient duplicate _id values arise from the lack of a strict ordering across shards for multi-document transaction oplog entries. Any documents remaining in the conflict stash collections after the recipient has applied through all donors' oplog entries represent non-transient (permanent) duplicate _id values and are therefore violations of the global _id uniqueness assumption in sharding.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: