-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Labels:
-
Fully Compatible
-
ALL
-
RPL 5 06/26/16
Value returned from a function is not checked for errors before being used
Defect 49646 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/storage/storage_engine_lock_file_posix.cpp
Function mongo::StorageEngineLockFile::writePid()
/src/mongo/db/storage/storage_engine_lock_file_posix.cpp, line: 164
Calling "fsync" without checking return value (as is done elsewhere 5 out of 7 times).
::fsync(_lockFileHandle->_fd);