[SERVER-35068] Implementation of StorageEngineLockFile on posix systems leaks file descriptors Created: 18/May/18 Updated: 29/Oct/23 Resolved: 30/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
The destructor of StorageEngineLockFile on posix systems doesn't close the lock file's file handle, leaking it. We don't normally notice, because we usually only release the handle at shutdown, but it can be noticed in unit tests that start up and shut down the storage engine repeatedly. |
| Comments |
| Comment by Githook User [ 30/May/18 ] |
|
Author: {'username': 'amschwerin', 'name': 'Andy Schwerin', 'email': 'schwerin@mongodb.com'}Message: |