HBASE-4881 Unhealthy region is on service caused by rollback of region splitting
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7c688679a
commit
747b5cb124
@ -723,12 +723,18 @@ public class SplitTransaction {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case CLOSED_PARENT_REGION:
|
case CLOSED_PARENT_REGION:
|
||||||
// So, this returns a seqid but if we just closed and then reopened, we
|
try {
|
||||||
// should be ok. On close, we flushed using sequenceid obtained from
|
// So, this returns a seqid but if we just closed and then reopened, we
|
||||||
// hosting regionserver so no need to propagate the sequenceid returned
|
// should be ok. On close, we flushed using sequenceid obtained from
|
||||||
// out of initialize below up into regionserver as we normally do.
|
// hosting regionserver so no need to propagate the sequenceid returned
|
||||||
// TODO: Verify.
|
// out of initialize below up into regionserver as we normally do.
|
||||||
this.parent.initialize();
|
// TODO: Verify.
|
||||||
|
this.parent.initialize();
|
||||||
|
} catch (IOException e) {
|
||||||
|
LOG.error("Failed rollbacking CLOSED_PARENT_REGION of region " +
|
||||||
|
this.parent.getRegionNameAsString(), e);
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STARTED_REGION_A_CREATION:
|
case STARTED_REGION_A_CREATION:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user