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

updateOne matching on _id and upsert:false should only send the operations to shards owning chunks

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      updateOne matching on _id and upsert:false broad cast the operation to every shard, even the one without chunks.
      Customers are unable to run operations that broadcast queries to all shards even if one shard that doesn't own any chunks of a sharded collection is down or has replication lag. The shards that own a sharded collection's chunks should be the only ones targeted for operations on the sharded collection.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ratika.gandhi@mongodb.com Ratika Gandhi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None