-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
QuInt C (11/23/15)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Value returned from a function is not checked for errors before being used
Defect 76731 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/repl/sync_tail.cpp
Function mongo::repl::SyncTail::OpQueueBatcher::getNextBatch(std::chrono::duration<long, std::ratio<(long)1, (long)1>>)
/src/mongo/db/repl/sync_tail.cpp, line: 541
Calling "wait_for" without checking return value (as is done elsewhere 7 out of 11 times).
_cv.wait_for(lk, maxWaitTime);