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

Improve the behaviour of multi-update/delete against a sharded collection

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 9 (09/18/15), Sharding 10 (02/19/16)
    • Linked BF Score:
      19

      Description

      Multi-updates/deletes against a sharded collection are sent with shard version IGNORED against the set of all nodes which the given router thinks have chunks from that collection. Because of this, the following anomalies can happen:

      • The update/delete is not applied against all documents in the collection (when the router doesn't know chunk was donated to another shard, not currently included in the cache)
      • The update/delete is applied multiple times on different shards for the same document (because the lack of versioning prevents them from synchronizing with chunk migration, in which case they can be applied both on the donor and the recipient)

      This ticket is intended to serve as the generic catch-all of these issues.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: