Hi Mauricio, Thank's for that fast reply!
I'm using all-in-one, I have 1-node.
Did as you said, for now it's fixed, i'm following that guide, am i on the right way?
and:::
curl -XGET localhost:9200/_cluster/allocation/explain?pretty
{
"index" : "security-auditlog-2021.07.30",
"shard" : 0,
"primary" : false,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "CLUSTER_RECOVERED",
"at" : "2021-11-16T11:41:36.054Z",
"last_allocation_status" : "no_attempt"
},
"can_allocate" : "no",
"allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
"node_allocation_decisions" : [
{
"node_id" : "spEVr6o9RCiSDjJdHcBySg<obfuscated>",
"node_name" : "node-1",
"node_decision" : "no",
"deciders" : [
{
"decider" : "same_shard",
"decision" : "NO",
"explanation" : "a copy of this shard is already allocated to this node [[security-auditlog-2021.07.30][0], node[spEVr6o9RCiSDjJdHcBySg], [P], s[STARTED], a[id=RPVy_vvHTIeuXsE96Z7HBQ]]"
}
]
}
]
}
Also,
GET /_cluster/health?pretty
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 858,
"active_shards" : 858,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 142,
"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" : 85.8
}
Thank you!!