elasticsearch/docs/reference/cluster
Simon Willnauer 35e705877b Limit retries of failed allocations per index (#18467)
Today if a shard fails during initialization phase due to misconfiguration, broken disks,
missing analyzers, not installed plugins etc. elasticsaerch keeps on trying to initialize
or rather allocate that shard. Yet, in the worst case scenario this ends in an endless
allocation loop. To prevent this loop and all it's sideeffects like spamming log files over
and over again this commit adds an allocation decider that stops allocating a shard that
failed more than N times in a row to allocate. The number or retries can be configured via
`index.allocation.max_retry` and it's default is set to `5`. Once the setting is updated
shards with less failures than the number set per index will be allowed to allocate again.

Internally we maintain a counter on the UnassignedInfo that is reset to `0` once the shards
has been started.

Relates to #18417
2016-05-20 20:37:45 +02:00
..
allocation-explain.asciidoc Add documentation for shard store output in allocation explain API 2016-05-03 09:51:15 -06:00
health.asciidoc Added desc for parameter <local> 2015-12-11 22:26:33 -02:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc Added ingest info to node info API, which contains a list of available processors. 2016-03-07 14:44:50 +01:00
nodes-stats.asciidoc Add I/O statistics on Linux 2016-05-17 16:16:39 -04:00
pending.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
reroute.asciidoc Limit retries of failed allocations per index (#18467) 2016-05-20 20:37:45 +02:00
state.asciidoc Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
stats.asciidoc Add up-to-date example of cluster stats API output 2016-03-31 14:41:37 +02:00
tasks.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
update-settings.asciidoc Clarification about precedence of settings 2016-03-10 14:29:51 +01:00