-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting bwh to nil after all fileHandles are closed #2823
Conversation
# Conflicts: # internal/fs/inode/file_test.go
a383a6e
to
30e1844
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2823 +/- ##
==========================================
- Coverage 75.94% 75.88% -0.06%
==========================================
Files 118 118
Lines 16320 16409 +89
==========================================
+ Hits 12394 12452 +58
- Misses 3409 3431 +22
- Partials 517 526 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 NIT comment, LGTM otherwise - assuming we will clean up the buffers in follow up PR.
* fixing conflicts * fixing nil assert # Conflicts: # internal/fs/inode/file_test.go * not nil fix * storing fileHandle open semantics * Added unit tests for fileInode * Registering and deregistering. * ADDED COMMENTS * fixing panic * fixing tests * PR comment
Description
Setting bwh to nil after all fileHandles are closed in case of error.
Follow up PR will be raised to clear the buffers
Link to the issue in case of a bug fix.
NA
Testing details