Uh oh!
There was an error while loading. Please reload this page.
HBASE-26583 Make StatisticThread alternative in BucketCache - #3956
HBASE-26583 Make StatisticThread alternative in BucketCache#3956YutSean wants to merge 3 commits into
Conversation
Apache-HBase
commented
Dec 16, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 16, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 16, 2021
💔 -1 overall
This message was automatically generated. |
YutSean
commented
Dec 18, 2021
Have rebased to master. Let's see the UT result this time. |
Apache-HBase
commented
Dec 18, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 18, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 18, 2021
💔 -1 overall
This message was automatically generated. |
| private transient final ScheduledExecutorService scheduleThreadPool = | ||
| Executors.newScheduledThreadPool(1, | ||
| new ThreadFactoryBuilder().setNameFormat("BucketCacheStatsExecutor").setDaemon(true).build()); | ||
| private transient ScheduledExecutorService scheduleThreadPool; |
There was a problem hiding this comment.
Fixed in the latest commit.
| "hbase.bucketcache.persistent.file.integrity.check.algorithm"; | ||
| private static final String DEFAULT_FILE_VERIFY_ALGORITHM = "MD5"; | ||
| private static final String STAT_THREAD_ENABLE_KEY = "hbase.bucketcache.stat.enable"; | ||
| private static final boolean STAT_THREAD_ENABLE_DEFAULT = false; |
There was a problem hiding this comment.
And better set it to true to keep the old behavior by default?
There was a problem hiding this comment.
The purpose to make the log alternative is that the log is only used when heavy debugging is needed. Turn on is a little bit annoying at other time I think. So that I changed the old behaviour. What do you think?
There was a problem hiding this comment.
I think in this PR we'd better keep the old behavior, i.e, set it true. We can file another issue to change it to true on master branch, and mark it as incompatible change. On branch-2.x we'd better keep the old behavior.
Apache-HBase
commented
Jan 3, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 3, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 3, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 3, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 3, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 3, 2022
💔 -1 overall
This message was automatically generated. |
Apache9
commented
Mar 18, 2022
Please rebase and fix the checkstyle issue? Thanks. |
https://issues.apache.org/jira/browse/HBASE-26583