I just filed https://github.com/elasticsearch/elasticsearch/issues/3017, where a 0.20.6 client connecting to a 0.20.6 master resulted in a java.io.StreamCorruptedException on the master which in turn drove a re-election (that master had to be restarted to rejoin the cluster).
A side effect of the election seems to be a large number of replicas became unallocated and have remained so about 8 hours on. This is an example of what showed up in the logs just after re-election but which stopped shortly thereafter -
[2013-05-09 11:34:52,232][WARN ][indices.cluster ] [ip-10-239-70-202] [profiles_0001][26] master [[ip-10-34-144-149][IsP0kjtRS6KJ-9R3hZehwQ][inet[/10.34.144.149:9300]]{data=false, master=true, zone=eu-west-1c}] marked shard as started, but shard have not been created, mark shard as failed
[2013-05-09 11:34:52,232][WARN ][cluster.action.shard ] [ip-10-239-70-202] sending failed shard for [profiles_0001][26], node[nUOPQBwwTdihgBPosOdbxA], [P], s[STARTED], reason [master [ip-10-34-144-149][IsP0kjtRS6KJ-9R3hZehwQ][inet[/10.34.144.149:9300]]{data=false, master=true, zone=eu-west-1c} marked shard as started, but shard have not been created, mark shard as failed]
Looking through the list suggest the message above has been associated with a split cluster in the past but in this case the cluster didn't split (with the exception of the failing master having to be bounced to rejoin).
Some details -
- Cluster is running with ec2 discovery
- 6 data nodes, 3 master nodes
- The masters are dedicated (node.master: true; node.data: false)
- The data nodes are dedicated (node.master: false; node.data: true)
- discovery.zen.minimum_master_nodes: 2
The cluster state is yellow, so the shards are all placed and serviceable, but I would like to get the cluster back to green, and am not sure how to proceed. What would be the right course of action to get the replicas allocated?
Bill
--
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.