-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
Repl 2018-06-18
Value returned from a function is not checked for errors before being used
Defect 103593 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/repl/sync_tail.cpp
Function mongo::repl::multiSyncApply(mongo::OperationContext , std::vector<const mongo::repl::OplogEntry *, std::allocator<const mongo::repl::OplogEntry *>> *, mongo::repl::SyncTail *, std::vector<mongo::MultikeyPathInfo, std::allocator<mongo::MultikeyPathInfo>>)
/src/mongo/db/repl/sync_tail.cpp, line: 1285
Calling "fetchAndInsertMissingDocument" without checking return value (as is done elsewhere 2 out of 3 times).
st->fetchAndInsertMissingDocument(opCtx, entry);
- duplicates
-
SERVER-30101 Coverity analysis defect 101783: Unchecked return value
- Closed
- is related to
-
SERVER-32335 Update initial sync to use new Applier interface for oplog application
- Closed