Uh oh!
There was an error while loading. Please reload this page.
HBASE-27474 Evict blocks on split/merge; Avoid caching reference/hlinks if compaction is enabled - #4868
Conversation
…ks if compaction is enabled Change-Id: I63296f5f95c9549d75ea7c991d2202c2e550300e
Apache-HBase
commented
Nov 8, 2022
💔 -1 overall
This message was automatically generated. |
Change-Id: I7b43530fe2ba44e6b6eb21f6526f7120a8eb235b
Apache-HBase
commented
Nov 9, 2022
🎊 +1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| HRegion region = null; | ||
| boolean compactionEnabled = | ||
| ((HRegionServer) server).getCompactSplitThread().isCompactionsEnabled(); | ||
| this.server.getConfiguration().setBoolean(HBASE_REGION_SERVER_ENABLE_COMPACTION, |
There was a problem hiding this comment.
Why change the global configuration here?
There was a problem hiding this comment.
We want to prefetch blocks for links/refs only if compaction is disabled, but the prefetch happens in the HFileReader, where we don't access to the CompactSplitThread, so saving the state of compaction switch in the config for HFileReader deciding if prefetch should go ahead.
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Nov 26, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 26, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 26, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 28, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 28, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 28, 2022
💔 -1 overall
This message was automatically generated. |
wchevreuil
commented
Dec 1, 2022
Latest test failure shouldn't be related. |
wchevreuil
commented
Dec 1, 2022
recheck |
petersomogyi
left a comment
There was a problem hiding this comment.
The change looks fine. I had some thoughts on compatibility related to upgrade/rollback but I don't think those could be affected.
…ks if compaction is enabled (apache#4868) Signed-off-by: Peter Somogyi <psomogyi@apache.org>
…aching reference/hlinks if compaction is enabled (apache#4868) Signed-off-by: Peter Somogyi <psomogyi@apache.org> (cherry picked from commit 222ec68) Change-Id: I0d864cbd2a423e8df27e964834c2bcee21a532f9
No description provided.