ElasticSearch unssigned shards error

using elastic 5.3.0

1 master and 5 data node

remove all translog files because data node's storage was fulled

still storage usage over 90%

when restart elastic, i meet Exception

java.nio.file.NoSuchFileException: mypath/0/translog/translog.ckp

and _cluster/health
{
"status": "red",
"timed_out": false,
"number_of_nodes": 6,
"number_of_data_nodes": 5,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1432,
"delayed_unassigned_shards": 0,
"number_of_pending_tasks": 0,
"number_of_in_flight_fetch": 0,
"task_max_waiting_in_queue_millis": 0,
"active_shards_percent_as_number": 0
}

how can i recover

please help..

I would recommend that you stop Elasticsearch, and then use the elasticsearch-translog tool to attempt to repair the translog: https://www.elastic.co/guide/en/elasticsearch/reference/5.6/index-modules-translog.html#corrupt-translog-truncation

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.