HBASE-3671 Split report before we finish parent region open; workaround till 0.92; Race between split and OPENED processing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1083279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3579bdf84b
commit
23916d541d
|
@ -96,7 +96,7 @@ public class OpenedRegionHandler extends EventHandler implements TotesHRegionInf
|
||||||
if (this.assignmentManager.isRegionInTransition(regionInfo) == null) {
|
if (this.assignmentManager.isRegionInTransition(regionInfo) == null) {
|
||||||
this.assignmentManager.regionOnline(regionInfo, serverInfo);
|
this.assignmentManager.regionOnline(regionInfo, serverInfo);
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("Skipping the onining of " + regionInfo.getRegionNameAsString() +
|
LOG.warn("Skipping the onlining of " + regionInfo.getRegionNameAsString() +
|
||||||
" because regions is NOT in RIT -- presuming this is because it SPLIT");
|
" because regions is NOT in RIT -- presuming this is because it SPLIT");
|
||||||
}
|
}
|
||||||
if (this.assignmentManager.getZKTable().isDisablingOrDisabledTable(
|
if (this.assignmentManager.getZKTable().isDisablingOrDisabledTable(
|
||||||
|
@ -109,4 +109,4 @@ public class OpenedRegionHandler extends EventHandler implements TotesHRegionInf
|
||||||
" on " + serverInfo.getServerName());
|
" on " + serverInfo.getServerName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue