Dear all, I have an Elasticsearch cluster composed by two nodes: master node and data node.
When I join the second node to the cluster, after some hours, the cluster health becomes green but I can see that all primary shards are in node 1 and all replica shards are in node 2.
I've thought that half of primary shards stay in node 1 and the other half of them migrate to node 2, and the same with repolica shards, but it's not on the way I supposed.
Please, can you tell me if this shard balancing is OK ??? Or how can I do to migrate half the primary shards to Node 2 and half the replica shards to Node 1 ???
Special thanks !!!