vli02 commented on a change in pull request #3402:
URL: https://github.com/apache/hbase/pull/3402#discussion_r658888745
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
##########
@@ -4566,7 +4586,7 @@ private void regionOffline(final HRegionInfo regionInfo,
final State state) {
// Tell our listeners that a region was closed
sendRegionClosedNotification(regionInfo);
// also note that all the replicas of the primary should be closed
- if (state != null && state.equals(State.SPLIT)) {
+ if (force || state != null && state.equals(State.SPLIT)) {
Review comment:
good catch, updated.
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
##########
@@ -4575,7 +4595,7 @@ private void regionOffline(final HRegionInfo regionInfo,
final State state) {
replicasToClose.addAll(list);
}
}
- else if (state != null && state.equals(State.MERGED)) {
+ else if (force || state != null && state.equals(State.MERGED)) {
Review comment:
updated
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]