Elasticsearch removed multicast on 2.0
I read some stuff and you guys advise to use something like [, ]
If I add 2 new nodes to the cluster, lets say using [, ] and then, will .5 be aware there's a .4 node present in the cluster?
Assuming yes, if later I add node .6 with [, ] and remove node .2 and node .3 will node .4 be able to know it can ping nodes .5 and .6?

(Nik Everett) #2

Discovery is really only used when the node isn't in the cluster. Once its
in the cluster the nodes freely share the list of nodes in the cluster. The
upshot is that if you set the list of hosts before the node starts you are
generally in good shape.


There's something extremely wrong with this.
I've 3 nodes, node-A, node-B, node-C.
I create node-A with settings:

     "My-Cluster" \
               -Des.transport.publish_host= \

node-B and node-C with this where X is .2 or .3 depending if it is node-B or node-C:

     "My-Cluster" \
               -Des.transport.publish_host=192.168.50.X \
               -Des.http.publish_host=192.168.50.X \

The problem is right after starting the cluster if I want to POST or PUT data into the cluster my environment gets extremely slow a POST takes at least 3 seconds (each POST). I don't see high CPU usage, I don't see large amount of traffic nor I/O to disk. However if I remove the following line: from node-B and node-C this doesnt happen.
With the and if I couple minutes after I create the cluster and then I insert the data then I don't see any delays. What is causing this?

(system) #4