[SERVER-76957] Handle mongos local and other general errors Created: 09/May/23  Updated: 29/Oct/23  Resolved: 20/Jun/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: Vishnu Kaushik Assignee: Vishnu Kaushik
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-72792 Implement progress bookkeeping for in... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-29, Repl 2023-06-12, Repl 2023-06-26
Participants:

 Description   

Sometimes the bulk write command might error as a whole, or may error due to a local (mongos) reason instead of an error on the shard. We need to handle these cases. Make sure targeting errors are correctly handled as well.

Example (1) and (2) on batch write codepath.



 Comments   
Comment by Githook User [ 20/Jun/23 ]

Author:

{'name': 'kauboy26', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-76957 Handle mongos local and other general errors
Branch: master
https://github.com/mongodb/mongo/commit/ac08cfb0ab06ae3d9d5cfc4c0fde0289edabd3b6

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