Fix #197
This commit is contained in:
parent
eab2110033
commit
50be11d0ef
@ -496,11 +496,18 @@ public class VirtualClusterDomain implements Domain, RaftListener {
|
||||
enableHealthCheck = vDom.getEnableHealthCheck();
|
||||
}
|
||||
|
||||
if (enableClientBeat != vDom.getEnableClientBeat().booleanValue()) {
|
||||
Loggers.SRV_LOG.info("[DOM-UPDATE] dom: " + name + ", enableClientBeat: " + enableClientBeat + " -> " + vDom.getEnableClientBeat());
|
||||
enableClientBeat = vDom.getEnableClientBeat();
|
||||
}
|
||||
|
||||
if (enabled != vDom.getEnabled().booleanValue()) {
|
||||
Loggers.SRV_LOG.info("[DOM-UPDATE] dom: " + name + ", enabled: " + enabled + " -> " + vDom.getEnabled());
|
||||
enabled = vDom.getEnabled();
|
||||
}
|
||||
|
||||
metadata = vDom.getMetadata();
|
||||
|
||||
updateOrAddCluster(vDom.getClusterMap().values());
|
||||
remvDeadClusters(this, vDom);
|
||||
recalculateChecksum();
|
||||
|
Loading…
Reference in New Issue
Block a user