HBASE-4186 No region is added to regionsInTransitionInRS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1156774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0cfb97d014
commit
ba8bf53381
|
@ -199,6 +199,7 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-4156 ZKConfig defaults clientPort improperly (Michajlo Matijkiw)
|
||||
HBASE-4184 CatalogJanitor doesn't work properly when "fs.default.name" isn't
|
||||
set in config file (Ming Ma)
|
||||
HBASE-4186 No region is added to regionsInTransitionInRS
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -2336,6 +2336,7 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
|||
}
|
||||
LOG.info("Received request to open region: " +
|
||||
region.getRegionNameAsString());
|
||||
this.regionsInTransitionInRS.add(region.getEncodedNameAsBytes());
|
||||
HTableDescriptor htd = this.tableDescriptors.get(region.getTableName());
|
||||
if (region.isRootRegion()) {
|
||||
this.service.submit(new OpenRootHandler(this, this, region, htd));
|
||||
|
@ -2397,6 +2398,7 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
|||
region.getEncodedName());
|
||||
return false;
|
||||
}
|
||||
this.regionsInTransitionInRS.add(region.getEncodedNameAsBytes());
|
||||
CloseRegionHandler crh = null;
|
||||
if (region.isRootRegion()) {
|
||||
crh = new CloseRootHandler(this, this, region, abort, zk);
|
||||
|
|
Loading…
Reference in New Issue