I am very new to Elastic.
The project, which I was assigned, uses Elastic and worked without problem, but from a few days ago we could not be able to reach Elastic.
When I command
curl http://localhost:9200/_cluster/health?pretty
{
"cluster_name" : "docker-cluster",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 121,
"active_shards" : 121,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 1615,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 1,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 6.954022988505747
}
curl -XGET localhost:9200/_cluster/allocation/explain?pretty
{
"index" : "ml_derivery_item_v2020_01_26__05_30_01",
"shard" : 4,
"primary" : true,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "CLUSTER_RECOVERED",
"at" : "2020-01-29T05:25:58.456Z",
"last_allocation_status" : "throttled"
},
"can_allocate" : "throttled",
"allocate_explanation" : "allocation temporarily throttled",
"node_allocation_decisions" : [
{
"node_id" : "hXHiSS7yQ7OYcyrikjvCNA",
"node_name" : "hXHiSS7",
"transport_address" : "172.21.0.2:9300",
"node_attributes" : {
"ml.machine_memory" : "8364023808",
"ml.max_open_jobs" : "20",
"ml.enabled" : "true"
},
"node_decision" : "throttled",
"store" : {
"in_sync" : true,
"allocation_id" : "NkILfO0vQrqARBIFFyA9aQ"
},
"deciders" : [
{
"decider" : "throttling",
"decision" : "THROTTLE",
"explanation" : "reached the limit of ongoing initial primary recoveries [4], cluster setting [cluster.routing.allocation.node_initial_primaries_recoveries=4]"
}
]
}
]
}
How can I fix this bug?