Skip to content

Commit

Permalink
0003680: Interrupted Registration results in node which cannot start …
Browse files Browse the repository at this point in the history
…because of mismatching instance.uuid
  • Loading branch information
mmichalek committed Aug 16, 2018
1 parent 9653a35 commit b268656
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -601,7 +601,7 @@ protected synchronized void reOpenRegistration(String nodeId, String remoteHost,
}

if (isNotBlank(remoteHost)) {
NodeHost nodeHost = new NodeHost(node.getNodeId(), engine.getClusterService().getInstanceId());
NodeHost nodeHost = new NodeHost(node.getNodeId(), null);
nodeHost.setHeartbeatTime(new Date());
nodeHost.setIpAddress(remoteAddress);
nodeHost.setHostName(remoteHost);
Expand Down Expand Up @@ -658,7 +658,7 @@ protected String openRegistration(Node node, String remoteHost, String remoteAdd
nodeId, password, masterToMasterOnly ? null : me.getNodeId() });

if (isNotBlank(remoteHost)) {
NodeHost nodeHost = new NodeHost(node.getNodeId(), engine.getClusterService().getInstanceId());
NodeHost nodeHost = new NodeHost(node.getNodeId(), null);
nodeHost.setHeartbeatTime(new Date());
nodeHost.setIpAddress(remoteAddress);
nodeHost.setHostName(remoteHost);
Expand Down

0 comments on commit b268656

Please sign in to comment.