-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- depends on
-
SERVER-72792 Implement progress bookkeeping for individual ops in BulkWriteExec
- Closed
-
SERVER-72984 Send sub-bulkWrite batches to targeted shard endpoints and wait for responses
- Closed
-
SERVER-73281 Support update/delete op type to bulkWrite command on mongos
- Closed
- related to
-
SERVER-74390 Add numErrors to bulkWrite command responses
- Closed