-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-22803 Modify config value range to enable turning off of the hbck chore #466
Conversation
@@ -98,29 +98,49 @@ | |||
private volatile long checkingStartTimestamp = 0; | |||
private volatile long checkingEndTimestamp = 0; | |||
|
|||
private boolean stopped = false; |
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.
stopped ==> disabled?
int interval = | ||
master.getConfiguration().getInt(HBCK_CHORE_INTERVAL, DEFAULT_HBCK_CHORE_INTERVAL); | ||
if (interval <= 0) { | ||
LOG.warn(HBCK_CHORE_INTERVAL + "is <=0 hence disabling hbck chore"); |
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.
Need a whitespace before "is".
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.
Add a ut for this?
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
c8eb0fd
to
1c383e4
Compare
Thanks for your suggestions @infraio , have updated the changes. |
💔 -1 overall
This message was automatically generated. |
Thanks for the review @infraio |
…ck chore (#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (apache#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (apache#466) Signed-off-by: Guanghao Zhang <zghao@apache.org>
…ck chore (apache#466) Signed-off-by: Guanghao Zhang <zghao@apache.org> (cherry picked from commit 66197dd) Change-Id: I92c3c2733f7874724fd0f9745fd759bc7e443486
No description provided.