So I decided to put more nodes per physical host. These are not VMs it's 3 physical instances running on the same physical host.
For each host, I have 4 total servers....
I disabled shard allocation downed the host, rebuilt it with 3 instances and brought up the 3 instances, re-enabled shard allocation, rinse and repeat.
It seems some hosts got primary and replicas...
Is the cluster.routing.allocation.same_shard.host: true enough? I'm pretty sure I have it setup for all instances!
Do you running ES on Windows? I'm having the same issue where this setting does not work.
I wonder if ES instances on the same physical server must share the same data path for this setting to work. It's unlikely because the setting use host name to determine if instances are running on the same host.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.