[SERVER-17867] Coverity analysis defect: Unchecked return value Created: 02/Apr/15  Updated: 02/Aug/18  Resolved: 29/Apr/15

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

Type: Task Priority: Major - P3
Reporter: Coverity Collector User Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

Covers issues with CID: 34674, 41851, 69795, 71862, 71881, 71882

A new defect has been detected and assigned to renctan in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=71882
The defect was flagged by checker CHECKED_RETURN in
file /src/mongo/s/commands/cluster_write_cmd.cpp
function mongo::<unnamed>::ClusterWriteCmd::run(mongo::OperationContext *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, mongo::BSONObj &, int, std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, mongo::BSONObjBuilder &, bool)
and this ticket was created by renctan



 Comments   
Comment by Githook User [ 10/Apr/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-17867 Appropriately handle return values in some mongos files
Branch: master
https://github.com/mongodb/mongo/commit/e5f8896793d5238602e89910cc0773b606c90421

Generated at Thu Feb 08 03:45:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.