This commit is contained in:
nkorange 2019-01-22 15:43:23 +08:00
parent fc5db210bb
commit 55178a6b2c

View File

@ -1093,6 +1093,11 @@ public class ApiCommands {
onAddIP4Dom(requestWrapper); onAddIP4Dom(requestWrapper);
proxyParams.put("clientIP", NetUtils.localServer());
proxyParams.put("notify", "true");
proxyParams.put("term", String.valueOf(RaftCore.getPeerSet().local().term));
proxyParams.put("timestamp", String.valueOf(timestamp));
if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) { if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) {
syncOnAddIP4Dom(namespaceId, dom, proxyParams); syncOnAddIP4Dom(namespaceId, dom, proxyParams);
} else { } else {
@ -1388,6 +1393,11 @@ public class ApiCommands {
onRemvIP4Dom(requestWrapper); onRemvIP4Dom(requestWrapper);
proxyParams.put("clientIP", NetUtils.localServer());
proxyParams.put("notify", "true");
proxyParams.put("term", String.valueOf(RaftCore.getPeerSet().local().term));
proxyParams.put("timestamp", String.valueOf(timestamp));
if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) { if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) {
syncOnRemvIP4Dom(namespaceId, dom, proxyParams); syncOnRemvIP4Dom(namespaceId, dom, proxyParams);
} else { } else {