-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-28923 Prioritize "orphan" blocks for eviction inside BucketCache.freespace #6373
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…e.freespace Change-Id: Id3c9c7d3fdbdd2ca21d55b53d1743fe31a77d4ea
8ea1b82 to
41a9744
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Change-Id: Id96f80df1266ae8251ae881fcef2b183c5c01a64
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vinayakphegde
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.
LGTM! added one comment. not very important though!
| private static final boolean STRONG_REF_DEFAULT = false; | ||
|
|
||
| /** The cache age of blocks to check if the related file is present on any online regions. */ | ||
| static final String BLOCK_ORPHAN_GRACE_PERIOD = "hbase.bucketcache.block.orphan.evictgraceperiod"; |
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.
nit: Since this configuration is in seconds, can we define it directly in the config, as we usually do? Something like "hbase.bucketcache.block.orphan.evictgraceperiod.seconds".
Kota-SH
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.
LGTM.
Change-Id: I34f6f19f09343423122575ea40e79e1ef19017b3
…e.freespace (#6373) Signed-off-by: Ankit Singhal <[email protected]> Reviewed by: Kota-SH <[email protected]> Reviewed by: Vinayak Hegde <[email protected]>
|
🎊 +1 overall
This message was automatically generated. |
…e.freespace (apache#6373) Signed-off-by: Ankit Singhal <[email protected]> Reviewed by: Kota-SH <[email protected]> Reviewed by: Vinayak Hegde <[email protected]> Change-Id: Ide3eb5573dc2ef16e60435181a688dbfa6b6177a
|
🎊 +1 overall
This message was automatically generated. |
…e.freespace (#6373) (#6416) Reviewed by: Kota-SH <[email protected]> Reviewed by: Vinayak Hegde <[email protected]> Signed-off-by: Ankit Singhal <[email protected]>
…e.freespace (#6373) (#6416) Reviewed by: Kota-SH <[email protected]> Reviewed by: Vinayak Hegde <[email protected]> Signed-off-by: Ankit Singhal <[email protected]> Change-Id: Ic1b4cb24b2f395488cd76bf34538f725e9fd1826
No description provided.