Skip to content

Instantly share code, notes, and snippets.

@denzhel
Created December 24, 2021 20:31
Show Gist options
  • Select an option

  • Save denzhel/de44f19f84ed2418c872a3a3513a3ba8 to your computer and use it in GitHub Desktop.

Select an option

Save denzhel/de44f19f84ed2418c872a3a3513a3ba8 to your computer and use it in GitHub Desktop.
es fast shards recovery

Use the following command to recover your Elasticsearch cluster faster than ever:

curl -X PUT localhost:9200/_cluster/settings -H 'Content-Type: application/json' -d'
{
  "transient": {
    "cluster.routing.allocation.node_concurrent_recoveries":30,
    "indices.recovery.max_bytes_per_sec": "100mb"
  }
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment