From 3ff016132783705a1ae43f7872f10bd00129ec49 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 23 May 2022 22:41:11 +0000 Subject: [PATCH] Add retry reroute doc for elastic Signed-off-by: Arif Ali --- useful_elasticsearch_commands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/useful_elasticsearch_commands.md b/useful_elasticsearch_commands.md index f21f3e7..c59a2e4 100644 --- a/useful_elasticsearch_commands.md +++ b/useful_elasticsearch_commands.md @@ -57,3 +57,9 @@ curl -X PUT "localhost:9200/_all/_settings" \ -H "Content-Type: application/json" \ -d '{"index.blocks.read_only_allow_delete": false}' ``` + +Retry rerouting + +```bash +curl -s -X POST 'http://localhost:9200/_cluster/reroute?retry_failed=true&pretty' +``` \ No newline at end of file