[SERVER-17875] Coverity analysis defect 48577: Redundant test Created: 02/Apr/15  Updated: 02/Aug/18  Resolved: 08/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: Randolph Tan
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

A new defect has been detected and assigned to renctan in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=48577
The defect was flagged by checker DEADCODE in
file /src/mongo/s/d_migrate.cpp
function mongo::MigrateStatus::_go(mongo::OperationContext *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, mongo::BSONObj, mongo::BSONObj, mongo::BSONObj, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const mongo::OID &, const mongo::WriteConcernOptions &)
and this ticket was created by renctan



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

Author:

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

Message: SERVER-17875 Remove redundant check done on receiving-end of chunk migration
Branch: master
https://github.com/mongodb/mongo/commit/0113f9ec54ee3c03ea26151d2bc36fc1aec27a1d

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