Not really missing something, the fact that two primaries exist on a node and not balanced as in one primary per node does not really affect who things work since replication is sync (by default) and replicas also serve searches. Yet, there might be cases where you would want to make sure primaries are evened out (specifically in the future, when snapshotting/backup of local data is implemented), and then we will allow for at least an API to allow to even it out.
On Aug 6, 2012, at 11:41 AM, Bernd Fehling firstname.lastname@example.org wrote:
After creating a new index with index.number_of_shards=2 and index.number_of_replicas=1 on a two node cluster everything is "well balanced" which means each node has one primary shard and one replica.
Then node_2 is going down, and both shards on node_1 become primary.
After that node_2 comes up again but both shards on node_1 stay on primary.
ES is not rebalancing/redistributing by itself ?
Am I missing any settings?
Do I have to send a command to the API?