-
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-22808 HBCK Report showed the offline regions which belong to di… #465
Conversation
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.
One nit to fix on commit?
@@ -672,6 +672,11 @@ private void checkServer(byte [] metaTableRow, RegionLocations locations) { | |||
if (sn == null) { | |||
continue; | |||
} | |||
// skip the offline regions which belong to disabled table. | |||
if (services.getTableStateManager() | |||
.isTableState(location.getRegion().getTable(), TableState.State.DISABLED)) { |
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.
Oh. I see. I didn't see it in my reproduction of the issue.
Could be DISABLED or DISABLING. Thats what we check in other places IIRC.
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.
There already a method which call isTableDisabled. Let me change to use that one.
💔 -1 overall
This message was automatically generated. |
…sabled table (#465) Signed-off-by: Stack <stack@apache.org>
…sabled table (#465) Signed-off-by: Stack <stack@apache.org>
…sabled table (#465) Signed-off-by: Stack <stack@apache.org>
…sabled table (#465) Signed-off-by: Stack <stack@apache.org>
💔 -1 overall
This message was automatically generated. |
…sabled table (apache#465) Signed-off-by: Stack <stack@apache.org>
…sabled table (apache#465) Signed-off-by: Stack <stack@apache.org>
…sabled table (apache#465) Signed-off-by: Stack <stack@apache.org> (cherry picked from commit 1a59987) Change-Id: I3ebdfc5d8ea5075d09a2cb462800b16341ff70b4
…sabled table