-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-27233 Read blocks into off-heap if caching is disabled for read #4931
Conversation
try { | ||
validateBlockType(hfileBlock, expectedBlockType); | ||
} catch (IOException e) { | ||
hfileBlock.release(); | ||
throw e; | ||
} |
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.
I noticed this potential leak because my test case was triggering this validation error. It seems we must not pass in invalid block types here often because I've never seen this leak in production, but it's best to close it.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…#4931) Signed-off-by: Xiaolin Ha <[email protected]>
…#4931) Signed-off-by: Xiaolin Ha <[email protected]>
…apache#4931) Signed-off-by: Xiaolin Ha <[email protected]>
No description provided.