[SERVER-54429] Only parse ErrorReply during testing Created: 09/Feb/21  Updated: 29/Oct/23  Resolved: 08/Mar/21

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

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-03-08, Repl 2021-03-22
Participants:

 Description   

We should only parse error replies in appendCommandStatusNoThrow and augmentReplyWithStatus if testing is enabled otherwise we could propagate an error to the user that they have no power to fix.



 Comments   
Comment by Githook User [ 08/Mar/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-54429 Only parse ErrorReply during testing
Branch: master
https://github.com/mongodb/mongo/commit/8c633c1d141e6b247ff167ce680fbfad9234cc15

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