canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.77k stars 213 forks source link

raft: Close fd used for fallocate probing #610

Closed cole-miller closed 4 months ago

cole-miller commented 4 months ago

The file descriptor leak here was noted by the LXD folks: https://github.com/canonical/lxd/issues/12808#issuecomment-1969219953

cc @tomponline @simondeziel

Signed-off-by: Cole Miller cole.miller@canonical.com

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.22%. Comparing base (61fc84c) to head (593f0b7). Report is 6 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #610 +/- ## ======================================= Coverage 81.21% 81.22% ======================================= Files 191 191 Lines 27033 27034 +1 Branches 4944 4902 -42 ======================================= + Hits 21956 21958 +2 + Misses 3483 3443 -40 - Partials 1594 1633 +39 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.