HBASE-10627 A logic mistake in HRegionServer isHealthy (Shaohui)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1573012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
397b272901
commit
80e007aa98
|
@ -1717,8 +1717,8 @@ public class HRegionServer implements ClientProtos.ClientService.BlockingInterfa
|
||||||
// Verify that all threads are alive
|
// Verify that all threads are alive
|
||||||
if (!(leases.isAlive()
|
if (!(leases.isAlive()
|
||||||
&& cacheFlusher.isAlive() && hlogRoller.isAlive()
|
&& cacheFlusher.isAlive() && hlogRoller.isAlive()
|
||||||
&& this.compactionChecker.isAlive())
|
&& this.compactionChecker.isAlive()
|
||||||
&& this.periodicFlusher.isAlive()) {
|
&& this.periodicFlusher.isAlive())) {
|
||||||
stop("One or more threads are no longer alive -- stop");
|
stop("One or more threads are no longer alive -- stop");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue