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

Populate numErrors in mongos command response

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Replication
    • Fully Compatible
    • Repl 2023-07-10, Repl 2023-08-07, Repl 2023-08-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: