[SERVER-64046] Mongos does not return errorlabels if it is interrupted while parsing a request Created: 28/Feb/22  Updated: 06/Dec/22  Resolved: 28/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Jason Zhang Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-62175 Mongos fails to attach RetryableWrite... Closed
Related
related to SERVER-53624 4.4 mongos does not attach RetryableW... Closed
Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

If we happen to interrupt mongos as we are parsing a given command, it is possible that we do not return the necessary errorlabels back to the client. Specifically if we fail before calling RunInvocation::run(), then the subsequent _handleException() does not append errorLabels. We should ideally try to append proper errorlabels whenever we respond to a client.


Generated at Thu Feb 08 05:59:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.