[SERVER-75946] Make fixes to update response in bulkWrite Created: 11/Apr/23 Updated: 29/Oct/23 Resolved: 27/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sean Zimmerman | Assignee: | Frederic Vitzikam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2023-05-01 |
| Participants: |
| Description |
|
There are multiple small changes that need to be made to the update response to make it more correct.
As part of this ticket it would also be nice to do some further cleanup by replacing the callback functions with passing around the BulkWriteReplies object and calling the functions directly
This will involve updating all relevant tests |
| Comments |
| Comment by Githook User [ 27/Apr/23 ] | |||||||||||||||||||||||||||||
|
Author: {'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}Message: | |||||||||||||||||||||||||||||
| Comment by Kaitlin Mahar [ 11/Apr/23 ] | |||||||||||||||||||||||||||||
|
For point 2 and 3, here's an example bulkWrite response when an update fails with an immutable field error and also a write concern error:
vs. what the equivalent update command response contains
|