[SERVER-82362] Populate collection UUID mismatch error info for bulkWrite command Created: 21/Oct/23  Updated: 15/Dec/23  Resolved: 15/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Sean Zimmerman
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-12-25
Participants:

 Description   

For insert/update/delete, when building the client response on mongos, if there is a collection UUID mismatch error we populate some extra info on that error: https://github.com/mongodb/mongo/blob/8f0e9361b565e55d751554e9f18f29e32de9ffa1/src/mongo/s/write_ops/batch_write_op.cpp#L906

We need some similar logic for the bulkWrite command.



 Comments   
Comment by Githook User [ 15/Dec/23 ]

Author:

{'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}

Message: SERVER-82362 Populate actualCollection field for bulkWrite errors on mongos

GitOrigin-RevId: 6350de87788b350cb55db0753f0743d25323146f
Branch: master
https://github.com/mongodb/mongo/commit/de53e7cf0a07975cda3cf3bffb2b85ef09efe956

Generated at Thu Feb 08 06:49:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.