"All shards failed for phase: [query]" message

Hi,

I have written some integration tests to run against the 1.2.0 version of
elasticsearch. The tests create indexes, add data to indexes, perform
searches, and delete indexes. My tests seem to be passing and working
correctly, but I'm concerned that I often see these messages showing up in
the logs:

[2014-05-28 12:15:37,604][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,609][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,614][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,635][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,638][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,643][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,644][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,646][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,649][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]

Can anyone help me understand what these messages mean? I'm just worried
that they may be pointing to some error in my implementation.

Thanks,
Mike

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6263ae56-eace-4cd9-a1db-1c19fa52d6da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hey,

can you show a test which reproduces this behaviour? This means, that all
of your searches against all shards seem to have failed. Any messages
before that/after that or on other nodes (usually you should be able to
spot a suggestion somewhere, maybe your index is not yet ready to be
queried)?

--Alex

On Wed, May 28, 2014 at 8:19 PM, Mike Tolman mtolman@gmail.com wrote:

Hi,

I have written some integration tests to run against the 1.2.0 version of
elasticsearch. The tests create indexes, add data to indexes, perform
searches, and delete indexes. My tests seem to be passing and working
correctly, but I'm concerned that I often see these messages showing up in
the logs:

[2014-05-28 12:15:37,604][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,609][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,614][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,635][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,638][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,643][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,644][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,646][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]
[2014-05-28 12:15:37,649][DEBUG][action.search.type ]
[ESIntegrationTestNode] All shards failed for phase: [query]

Can anyone help me understand what these messages mean? I'm just worried
that they may be pointing to some error in my implementation.

Thanks,
Mike

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6263ae56-eace-4cd9-a1db-1c19fa52d6da%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/6263ae56-eace-4cd9-a1db-1c19fa52d6da%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-Krpby28_0pdwEyXmz5uZ_f07R5a1J6sLHX7My6_hegg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.