mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
better log message
This commit is contained in:
parent
eaa32f28b3
commit
02c8706c33
@ -390,7 +390,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
|
||||
@Override public ClusterState execute(ClusterState currentState) {
|
||||
if (currentState.nodes().nodeExists(node.id())) {
|
||||
// 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 newClusterStateBuilder().state(currentState).nodes(currentState.nodes().newNode(node)).build();
|
||||
|
Loading…
x
Reference in New Issue
Block a user