|
Value returned from a function is not checked for errors before being used
Defect 72739 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/repl/data_replicator.cpp
Function mongo::repl::DataReplicator::_onOplogFetchFinish(const mongo::StatusWith<mongo::repl::Fetcher::BatchData> &, mongo::repl::Fetcher::NextAction *)
/src/mongo/db/repl/data_replicator.cpp, line: 1357
Calling "setFollowerMode" without checking return value (as is done elsewhere 7 out of 8 times).
_replCoord->setFollowerMode(MemberState::RS_RECOVERING); // TODO too stale
|
|