OpenSearch/core
Antonio Matarrese 155db7326a _reroute's retry_failed flag should reset failure counter (#25888)
To protect against poisonous situations, ES will only try to allocate a shard 5 times (by default). After 5 consecutive failures, ES will stop assigning the shard and wait for an operator to fix the problem. Once the problem is fixed, the operator is expected to call `_reroute` with a `retry_failed` flag to force retrying of those shards. Currently that retry flag is only used for a single allocation run. However, if not all shards can be allocated at once (due to throttling) the operator has to keep on calling the API until all shards are assigned which is cumbersome. This PR changes the behavior of the flag to reset the failed allocations counter and this allowing shards to be assigned again.
2017-09-08 12:18:52 +02:00
..
licenses Upgrade to Log4j 2.9.0 2017-08-31 09:54:35 -04:00
src _reroute's retry_failed flag should reset failure counter (#25888) 2017-09-08 12:18:52 +02:00
build.gradle Upgrade to Log4j 2.9.0 2017-08-31 09:54:35 -04:00