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

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

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Sharding 9 (09/18/15), Sharding 10 (02/19/16)
    • 19

      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.

            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            spencer@mongodb.com Spencer Brody (Inactive)
            0 Vote for this issue
            26 Start watching this issue