sunhelly commented on a change in pull request #323: HBASE-22414 Interruption
of moving regions in RSGroup will cause regi…
URL: https://github.com/apache/hbase/pull/323#discussion_r297952643
##########
File path:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java
##########
@@ -193,76 +198,104 @@ private void checkServersAndTables(Set<Address>
servers, Set<TableName> tables,
}
}
+ private enum MoveType {
+ TO, FROM
+ }
+
/**
- * Move every region from servers which are currently located on these
servers,
- * but should not be located there.
+ * When move a table to a group, all regions of it must be moved to group
servers (to the group).
Review comment:
OK.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services