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:
parent
23916d541d
commit
1889d7ed5c
|
@ -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() +
|
||||
|
|
Loading…
Reference in New Issue