HBASE-28596 Optimise BucketCache usage upon regions splits/merges. (#5906)#6508
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
taklwu
left a comment
There was a problem hiding this comment.
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()) { | ||
|
|
There was a problem hiding this comment.
nit: do we need this spacing ?
Hi Wellington, the backport should be fine but the patch cannot be build, can you check it ?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
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
8d90166 to
05d3993
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Is it ready to be merged? |
|
🎊 +1 overall
This message was automatically generated. |
No description provided.