Skip to content

HBASE-28596 Optimise BucketCache usage upon regions splits/merges. (#5906) - #6508

Merged
wchevreuil merged 1 commit into
apache:branch-2.6from
wchevreuil:HBASE-28596-branch-2
Jul 1, 2025
Merged

HBASE-28596 Optimise BucketCache usage upon regions splits/merges. (#5906)#6508
wchevreuil merged 1 commit into
apache:branch-2.6from
wchevreuil:HBASE-28596-branch-2

Conversation

@wchevreuil

Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@ragarkarragarkar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

taklwu
taklwu previously approved these changes Jun 23, 2025

@taklwutaklwu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems the same as bd9053c#diff-c910a49e7d962e49b199d22f38e1cd78d867351208b86bffdd56ffb9aa1aa596 (the minor difference the extra spacing.)

// master hosted regions, like the master procedures store wouldn't have a block cache
// Prefetch file blocks upon open if requested
if (cacheConf.getBlockCache().isPresent() && cacheConf.shouldPrefetchOnOpen()) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do we need this spacing ?

@taklwu
taklwu self-requested a review June 23, 2025 23:41
@taklwu
taklwu dismissed their stale reviewJune 23, 2025 23:42

Hi Wellington, the backport should be fine but the patch cannot be build, can you check it ?

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@charlesconnellcharlesconnell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hubspot has been using this patch in production for some months. This successfully addresses the performance regression identified in HBASE-29012, and we haven't noticed any negative side effects.

@wchevreuil

Copy link
Copy Markdown
ContributorAuthor

Hubspot has been using this patch in production for some months. This successfully addresses the performance regression identified in HBASE-29012, and we haven't noticed any negative side effects.

Thanks for confirming @charlesconnell ! I will address the issues from the conflicts and once we get a green pre commit run, will get it merged.

…pache#5906)
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
Change-Id: I6d6fc84c0e526cc1ed1c14072791b0bd5b9b92fa
@wchevreuil
wchevreuilforce-pushed the HBASE-28596-branch-2 branch from 8d90166 to 05d3993CompareJune 27, 2025 09:48
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@taklwutaklwu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Apache9

Copy link
Copy Markdown
Contributor

Is it ready to be merged?

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 50sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 1sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ branch-2.6 Compile Tests _
+1 💚mvninstall4m 5sbranch-2.6 passed
+1 💚compile2m 59sbranch-2.6 passed
+1 💚checkstyle0m 37sbranch-2.6 passed
+1 💚spotbugs1m 39sbranch-2.6 passed
+1 💚spotless0m 48sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall3m 10sthe patch passed
+1 💚compile2m 58sthe patch passed
+1 💚javac2m 58sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle0m 35s/results-checkstyle-hbase-server.txthbase-server: The patch generated 1 new + 53 unchanged - 0 fixed = 54 total (was 53)
+1 💚spotbugs1m 49sthe patch passed
+1 💚hadoopcheck17m 21sPatch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.
+1 💚spotless0m 44spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 11sThe patch does not generate ASF License warnings.
39m 40s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6508/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6508
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 7c4ed6e0ab42 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 05d3993
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count78 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6508/5/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@wchevreuil
wchevreuil merged commit e8a3ed2 into apache:branch-2.6Jul 1, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@wchevreuil@Apache-HBase@Apache9@charlesconnell@taklwu@ragarkar