mirror of https://github.com/status-im/consul.git
Remove old debugging lines of questionable future value
This commit is contained in:
parent
e5b5078415
commit
544a263a62
|
@ -284,7 +284,6 @@ FAILED_SERVER_DURING_REBALANCE:
|
||||||
|
|
||||||
// Early abort if there is no value to shuffling
|
// Early abort if there is no value to shuffling
|
||||||
if len(sc.servers) < 2 {
|
if len(sc.servers) < 2 {
|
||||||
// sm.logger.Printf("[INFO] server manager: can't rebalance with only %d servers", len(sc.servers))
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -299,7 +298,6 @@ FAILED_SERVER_DURING_REBALANCE:
|
||||||
// while Serf detects the node has failed.
|
// while Serf detects the node has failed.
|
||||||
selectedServer := sc.servers[0]
|
selectedServer := sc.servers[0]
|
||||||
|
|
||||||
// sm.logger.Printf("[INFO] server manager: Preemptively testing server %s before rebalance", selectedServer.String())
|
|
||||||
ok, err := sm.connPoolPinger.PingConsulServer(selectedServer)
|
ok, err := sm.connPoolPinger.PingConsulServer(selectedServer)
|
||||||
if ok {
|
if ok {
|
||||||
foundHealthyServer = true
|
foundHealthyServer = true
|
||||||
|
|
Loading…
Reference in New Issue