0
我與ES 2.2Elasticsearch恢復後指數仍爲紅色。如何把它變成綠色?
工作指標恢復後與
POST /_snapshot/s3_repository/snapshot_traces_291215/_restore
{
"include_global_state": false
}
我的指數仍然紅red open traces_v2 3 1
這裏是集羣健康:
{
"cluster_name": "burst",
"status": "red",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 6,
"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
}
我相信恢復完成。我檢查與GET /_cat/recovery?v
GET /_cat/_shards?v
給我:
index shard prirep state docs store ip node
traces_v2 2 p UNASSIGNED
traces_v2 2 r UNASSIGNED
traces_v2 1 p UNASSIGNED
traces_v2 1 r UNASSIGNED
traces_v2 0 p UNASSIGNED
traces_v2 0 r UNASSIGNED
可以在那裏的2.1快照和ES 2.2的任何版本不兼容?
你有6個未分配的碎片和0個活動的碎片 - 這是不好的。通過運行'curl -XGET「來查看詳細的分片信息http:// localhost:9200/_cat/shards?v」' –
我編輯了我的問題來粘貼結果 – dagatsoin