All primary shards are added to only one node

(Vilas Reddy Podduturi) #1


I see a behavior in elasticsearch that all the primary shards (we have 5 shards per index) added to only one of the three nodes in cluster all the time. Why is this happening?

Currently we have replicas disabled. When we add replica to that index, then the replicas are distributed among other two nodes.


(Shaunak Kashyap) #2

Does your elasticsearch config contain any settings that start with cluster.routing.?

(Vilas Reddy Podduturi) #3

Even before the cluster.routing was there this issue raised.
But I added that setting for rolling restarting of nodes yesterday.
But this issue of all primary shards into one node is happening for last one week.

(Mark Walkom) #4

What version?

(Vilas Reddy Podduturi) #5


(system) #6