-
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-22739 check bound where removeRegion #411
Conversation
https://issues.apache.org/jira/browse/HBASE-22739. this is the last !!!
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@@ -870,6 +870,9 @@ void regionMoved(int region, int oldServer, int newServer) { | |||
if (regions[i] == regionIndex) { | |||
break; | |||
} | |||
if (i == regions.length - 1) { | |||
return Arrays.copyOf(regions, regions.length); |
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.
Here i think we can just return regions. No need to copy the entire array, unless you have a strong reason.
https://issues.apache.org/jira/browse/HBASE-22739.
this is the last !!!