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

Handle WouldChangeOwningShard for bulkWrite

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-08-07, Repl 2023-09-04, Repl 2023-10-16, Repl 2023-10-30, Repl 2023-11-13, Repl 2023-11-27

      If any operation returns WouldChangeOwningShard from a shard, mongos will handle it at the top-level after the entire bulkWrite has finished executing in the same way as handleWouldChangeOwningShardError, assuming this is a single-update bulkWrite. We do not support (i.e. error out) bulkWrite with ops size > 1 and updates that modify a document’s owning shard. This will be done in PM-2015.

            Assignee:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: