I had debugging this problem for so long time now. I tweaked every relevant 
setting but just cannot get it to work. I really hope someone with 
knowledge about Elasticsearch networking can give me some help.

So I got two machines in the same data-center, but communicate to each 
other by public ip. (network.publish_host is set)
The symptoms are:
1: Cluster health is green showing 2 nodes
2: When the slave node initially started, all queries are fine. After some 
time, query would not work unless adding "preference=_local". This is true 
for HTTP curl for both machine.
3: When I shut down the slave node, soon the master node would work fine 
without the "_local" suffix.

No special error is shown.
Please feel free to share any ideas you have about this case. 


-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0a2c60d6-56d5-4d8d-8549-3f61aaa46cd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to