-
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-27152 Under compaction mark may leak #4568
Conversation
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java
Show resolved
Hide resolved
+ "store size is {}", | ||
getStoreNameForUnderCompaction(store), priority, underCompactionStores.size()); | ||
} | ||
} catch (Throwable t) { |
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.
When will we get exceptions here? And better just catch the exception types which could be thrown in the above code block?
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.
Actually it will only throw NPE when pool.execute(null), which will never happen here. I'll just remove the try/catch here. Thanks.
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit da27a67)
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit da27a67)
No description provided.