Hi, folks!
(my Elasticsearch version is 7.5.2)
I have a closed index called "vpn-2019.52", a weekly vpn index and when I try to open it with:
POST vpn-2019.52/_open
It timed out and reported nothing. After that I found my index on the following situation:
Its status is health: green, status: close and a primary - replica assigned.
I try to query the index and it and I get:
Query:
POST vpn-2019-52/_search
{
"query": {
"match_all": {}
}
}
Response:
{ "error" : { "root_cause" : [ { "type" : "index_not_found_exception", "reason" : "no such index [vpn-2019-52]", "resource.type" : "index_or_alias", "resource.id" : "vpn-2019-52", "index_uuid" : "_na_", "index" : "vpn-2019-52" } ], "type" : "index_not_found_exception", "reason" : "no such index [vpn-2019-52]", "resource.type" : "index_or_alias", "resource.id" : "vpn-2019-52", "index_uuid" : "_na_", "index" : "vpn-2019-52" }, "status" : 404 }
There are no pending_tasks and the thread pool has active threads only at management:
elastic-03-0 management 1 0 0
elastic-01-0 management 1 0 0
elastic-02-0 management 1 0 0
GET /_cluster/health/vpn-2019-52?level=shards
"vpn-2019.52" : { "status" : "green", "number_of_shards" : 1, "number_of_replicas" : 1, "active_primary_shards" : 1, "active_shards" : 2, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 0, "shards" : { "0" : { "status" : "green", "primary_active" : true, "active_shards" : 2, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 0 } } }
_recovery gives me same error as _search
Is there anything I can do to recover this index?
Thank you in advance.