HBASE-5615 revert due to race condition in case master dies
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b57215185
commit
ccc24e39f9
|
@ -2470,7 +2470,6 @@ public class AssignmentManager extends ZooKeeperListener {
|
||||||
ServerName regionLocation = region.getSecond();
|
ServerName regionLocation = region.getSecond();
|
||||||
if (regionInfo == null) continue;
|
if (regionInfo == null) continue;
|
||||||
String tableName = regionInfo.getTableNameAsString();
|
String tableName = regionInfo.getTableNameAsString();
|
||||||
if (regionInfo.isOffline() && regionInfo.isSplit()) continue;
|
|
||||||
if (regionLocation == null) {
|
if (regionLocation == null) {
|
||||||
// regionLocation could be null if createTable didn't finish properly.
|
// regionLocation could be null if createTable didn't finish properly.
|
||||||
// When createTable is in progress, HMaster restarts.
|
// When createTable is in progress, HMaster restarts.
|
||||||
|
|
Loading…
Reference in New Issue