-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26565 Make StatisticThread alternative in LruBC #3939
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
base: master
Are you sure you want to change the base?
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Can we define common config that is applicable to any LRU we use? |
|
Spread this config to all the LRU. Found that it is really hard to spread a common feature among all LRUs. There are plenty of redundant code in them. Maybe we could also reconstruct them in another ticket. But this time, I just make FirstLevelBC as an abstract class to try my best to avoid redundant coding....... |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
The failed UT is not related to the changes. Has rebased master branch and see the UT result this time. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Apache9
left a comment
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.
Please rebase?
|
|
||
| /* Statistics thread */ | ||
| protected static String STAT_THREAD_ENABLE_KEY = "hbase.lru.stat.enable"; | ||
| protected static boolean STAT_THREAD_ENABLE_DEFAULT = false; |
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.
As said in #3956 , we'd better set it to true in this PR, and file another PR to change to true on master branch.
https://issues.apache.org/jira/browse/HBASE-26565