Indexing stop if all shards are not available

Hi All,

I am indexing continuous stream of records, I have cluster of 5 nodes and
number of shards in one index is 4.

Node 0 --> shard0 of index1
Node 1 --> shard1 of index2
Node 2 --> shard2 of index3
Node 3 --> shard3 of index4
Node 4 --> no of index5

If node4 goes down, then there is no impact on ingestion performance. but,
if any node from Node0 to Node3 is down, then the ingestion will stop and
throw following exception.

org.elasticsearch.action.NoShardAvailableActionException:
[marchived_ipdr_205244][1] No shard available for
[[marchived_ipdr_205244][marchived_ipdr][c1b03b7e07033edc63cbd98c52a28bfa]:
routing [null]]

By exception it is clear that, the shard[1] is not available.

Please help to resolve the issue.

Thanks,
Ankit Jain

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Please find the correct node details:

Node 0 --> serve shard0 of index1
Node 1 --> serve shard1 of index1
Node 2 --> serve shard2 of index1
Node 3 --> serve shard3 of index1
Node 4 --> serve zero shard of index1

Thanks,
Ankit

On Thursday, 11 July 2013 19:48:03 UTC+5:30, Ankit Jain wrote:

Hi All,

I am indexing continuous stream of records, I have cluster of 5 nodes and
number of shards in one index is 4.

Node 0 --> shard0 of index1
Node 1 --> shard1 of index2
Node 2 --> shard2 of index3
Node 3 --> shard3 of index4
Node 4 --> no of index5

If node4 goes down, then there is no impact on ingestion performance. but,
if any node from Node0 to Node3 is down, then the ingestion will stop and
throw following exception.

org.elasticsearch.action.NoShardAvailableActionException:
[marchived_ipdr_205244][1] No shard available for
[[marchived_ipdr_205244][marchived_ipdr][c1b03b7e07033edc63cbd98c52a28bfa]:
routing [null]]

By exception it is clear that, the shard[1] is not available.

Please help to resolve the issue.

Thanks,
Ankit Jain

--
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.
For more options, visit https://groups.google.com/groups/opt_out.