We had a cluster go into recovery today due to an outage. It has recovered, but there seems to be 2 shards stuck in relocation. The cluster is green, but search is extremely slow to non-responsive (Kibana times out). We have shut down indexing in the meantime.
-XGET 'http://localhost:9200/_cluster/health?pretty'
returns
{
"cluster_name" : "elasticsearch",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 5,
"number_of_data_nodes" : 5,
"active_primary_shards" : 6161,
"active_shards" : 12322,
"relocating_shards" : 2,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 1684060,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 38878795,
"active_shards_percent_as_number" : 100.0
}
We are running ES 2.0
Where should we start troubleshooting?