Details
-
Improvement
-
Status: Reviewable
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Twitter Mesos Q3 Sprint 6
-
5
Description
In order to avoid missing close() calls on file descriptors, or double-closing file descriptors, it would be nice to add a reference counted FileDescriptor in a similar way to what we've done for Socket. This will be closed automatically when the last reference goes away, and double closes can be prevented via internal state.
Attachments
Issue Links
- duplicates
-
MESOS-4536 Add abstractions of "owned" and "shared" file descriptors to libprocess.
- Open
- is related to
-
MESOS-3519 Fix file descriptor leakage / double close in the code base
- Resolved