My cluster config :
ES version : 6.2.3
number of nodes : 3 (master eligible/data)
number of replica : 1
I ran tests sending concurrent search requests to ES cluster using java rest client api(3 hosts, with sniffer), then killed a node.
My expectation was that,
since there are replicas on the other two nodes, the requests would succeed.
But it failed partially and the response status was 200.
Is there any way to get success response(without shard failure)?
If I have to deal with the retry on that cases, how long it would be take to get success response?
When I retried right after the shard failures, all requests ended with success. I wonder If I can get success response always with single retry on the node_disconnected_exception failure.
Thanks.
Releated topics :
Should Elasticsearch return a non-200 response if there are shard failures? #18978
How do people typically handle shard failures in their results?
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.