Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example how you can recovery your elastic from red status to green but lose your data
POST _cluster/reroute?retry_failed
"commands" : [
"allocate_empty_primary": {
"index" : "Index-YYYY-MM-DD-HH",
"shard" : 66,
"node": "some-node",
"accept_data_loss": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.