HBASE-4833 HRegionServer stops could be 0.5s faster (N Keywal)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1206490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-11-26 16:50:35 +00:00
parent 6ce8bf9130
commit f584f12260
1 changed files with 1 additions and 2 deletions

View File

@ -1555,8 +1555,7 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
this.stopped = true;
LOG.info("STOPPED: " + msg);
// Wakes run() if it is sleeping
//sleeper.skipSleepCycle();
//will be uncommented later, see discussion in jira 4798
sleeper.skipSleepCycle();
}
public void waitForServerOnline(){