better log message

This commit is contained in:
kimchy 2010-05-12 15:52:01 +03:00
parent eaa32f28b3
commit 02c8706c33
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
@Override public ClusterState execute(ClusterState currentState) { @Override public ClusterState execute(ClusterState currentState) {
if (currentState.nodes().nodeExists(node.id())) { if (currentState.nodes().nodeExists(node.id())) {
// no change, the node already exists in the cluster // no change, the node already exists in the cluster
logger.warn("Received an existing node [{}]", node); logger.warn("Received a join request for an existing node [{}]", node);
return currentState; return currentState;
} }
return newClusterStateBuilder().state(currentState).nodes(currentState.nodes().newNode(node)).build(); return newClusterStateBuilder().state(currentState).nodes(currentState.nodes().newNode(node)).build();