Support internal errors only field for bulkWrite

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2023-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Handling WouldChangeOwningShard requires inspecting the write errors, the current singleBatch:true + batchSize:0 for bulkWrite would not return write errors in its current form. We need to add an internal field to be sent from mongos -> mongod in order to still receive write errors even with singleBatch and batchSize:0

      We do not want to expose this to users since it will have higher precedence than batchSize:0 which would be a confusing API

            Assignee:
            Sean Zimmerman
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: