[SERVER-59893] Coverity analysis defect 120737: Unchecked return value Created: 12/Sep/21  Updated: 27/Oct/23  Resolved: 13/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Backlog - Replication Team
Resolution: Gone away Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Operating System: ALL
Participants:

 Description   

Unchecked return value

If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used
/src/mongo/db/modules/enterprise/src/fcbis/initial_sync_file_mover.cpp:144: CHECKED_RETURN 120737 Calling "fsync" without checking return value (as is done elsewhere 6 out of 8 times).


Generated at Thu Feb 08 05:48:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.