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

Populate numErrors in mongos command response

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-07-10, Repl 2023-08-07, Repl 2023-08-21

      In SERVER-74390 we added numErrors to the command response on mongod, however for now we are hardcoding numErrors to 0 in the response from mongos.

      Once we are able to fully execute commands on mongos we should update this to properly return the number of errors contained in the cursor we return.

      One option is to combine the numErrors responses across the individual commands we send to each shard. However, we could also recount numErrors on mongos instead as we process the result of each operation.

            Assignee:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: