-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Segment Replication] [BUG] file handle leak in SegmentFileTransferHandler #4205
Labels
bug
Something isn't working
distributed framework
enhancement
Enhancement or improvement to existing feature or request
Comments
dreamer-89
changed the title
[Segment Replication] [BUG] file handle leak
[Segment Replication] [BUG] file handle leak in SegmentFileTransferHandler
Aug 12, 2022
This issue also shows up as; open files preventing preventing directory close action.
|
13 tasks
Poojita-Raj
added
enhancement
Enhancement or improvement to existing feature or request
distributed framework
and removed
untriaged
labels
Aug 16, 2022
5 tasks
This was referenced Aug 16, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
distributed framework
enhancement
Enhancement or improvement to existing feature or request
Describe the bug
store.directory().openInput in SegmentFileTransferHandler fails with runtime file handle leak exception. Based on remaining usages, this call can be added in try-with-resources block as IndexInput implements the Closeable interface.
To Reproduce
Steps to reproduce the behavior:
This issue occurs randomly on executing SegmentReplicationIT.java tests. I found out this issue while running below new integration test (created to repro a different issue)
Expected behavior
Test should fail with runtime exception.
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: