HBASE-3671) Split report before we finish parent region open; workaround till 0.92; Race between split and OPENED processing -- fix suggested by Ted Yu

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1083357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-03-20 01:52:43 +00:00
parent 23916d541d
commit 1889d7ed5c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class OpenedRegionHandler extends EventHandler implements TotesHRegionInf
}
// Code to defend against case where we get SPLIT before region open
// processing completes; temporary till we make SPLITs go via zk -- 0.92.
if (this.assignmentManager.isRegionInTransition(regionInfo) == null) {
if (this.assignmentManager.isRegionInTransition(regionInfo) != null) {
this.assignmentManager.regionOnline(regionInfo, serverInfo);
} else {
LOG.warn("Skipping the onlining of " + regionInfo.getRegionNameAsString() +