HBASE-5639 The logic used in waiting for region servers during startup is broken (J-D and NKeyval)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1306012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
83e552c3b3
commit
16ad2b2898
|
@ -587,7 +587,7 @@ public class ServerManager {
|
||||||
!this.master.isStopped() &&
|
!this.master.isStopped() &&
|
||||||
slept < timeout &&
|
slept < timeout &&
|
||||||
count < maxToStart &&
|
count < maxToStart &&
|
||||||
!(lastCountChange+interval > now && count >= minToStart)
|
(lastCountChange+interval > now || count < minToStart)
|
||||||
){
|
){
|
||||||
|
|
||||||
// Log some info at every interval time or if there is a change
|
// Log some info at every interval time or if there is a change
|
||||||
|
|
Loading…
Reference in New Issue