[SERVER-50105] Coverity analysis defect 115661: Unchecked return value Created: 04/Aug/20 Updated: 29/Oct/23 Resolved: 13/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Execution Team 2020-08-24 | ||||||||
| 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 |
| Comments |
| Comment by Githook User [ 13/Aug/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Failing to abort an index build is not an error in these cases but will be logged for The only functional change is in the code for stopping index builds before rollback |
| Comment by Benety Goh [ 07/Aug/20 ] |
|
abortIndexBuildByBuildUUID() started returning a boolean in |