HBASE-7669 ROOT region wouldn't be handled by PRI-IPC-Handler(Chunhui)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438834 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
zjushch 2013-01-26 03:46:03 +00:00
parent d222498586
commit 4d7b2824be
1 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ public class HRegionServer implements ClientProtocol,
(RegionSpecifier)getRegion.invoke(deserializedRequestObj,
(Object[])null);
HRegion region = hRegionServer.getRegion(regionSpecifier);
if (region.getRegionInfo().isMetaRegion()) {
if (region.getRegionInfo().isMetaTable()) {
if (LOG.isDebugEnabled()) {
LOG.debug("High priority: " + from.toString());
}
@ -704,7 +704,7 @@ public class HRegionServer implements ClientProtocol,
return HConstants.NORMAL_QOS;
}
RegionScanner scanner = hRegionServer.getScanner(request.getScannerId());
if (scanner != null && scanner.getRegionInfo().isMetaRegion()) {
if (scanner != null && scanner.getRegionInfo().isMetaTable()) {
if (LOG.isDebugEnabled()) {
LOG.debug("High priority scanner request: " + request.getScannerId());
}