[SERVER-44560] Investigate whether more robust error checking is needed when calling executeCommandAgainstDatabasePrimary Created: 11/Nov/19  Updated: 27/Oct/23  Resolved: 14/Nov/19

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

Type: Task Priority: Major - P3
Reporter: Ted Tuckman Assignee: Ted Tuckman
Resolution: Works as Designed Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Asserting status ok here does not check whether the remote command succeeded, rather just asserts that a response was received. 

https://github.com/mongodb/mongo/blob/0ff5e5e7cc09c31d3fe260cf6602f461e6e20bb6/src/mongo/s/commands/commands_public.cpp#L73

This ticket is to investigate whether checking the response for errors is correct and whether this breaks tests.


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