OpenSearch/docs/reference
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
..
aggregations Add back support for `ip` range aggregations. #17859 2016-05-13 17:22:01 +02:00
analysis Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
cat Merge branch 'pr/18068' 2016-05-10 08:27:43 -06:00
cluster Limit retries of failed allocations per index (#18467) 2016-05-20 20:37:45 +02:00
docs Revert "Doc: /_reindex: Add a note about the source size parameter" 2016-05-20 14:39:18 +02:00
images Updated decay-function image in function_score query 2016-04-20 13:37:52 +02:00
index-modules Added Type name for DFI (#18480) 2016-05-20 11:02:06 +02:00
indices Add TESTRESPONSE code 2016-05-12 18:44:08 -07:00
ingest Add a Sort ingest processor 2016-05-17 12:06:48 -04:00
mapping First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
migration percolator: Removed percolator cache 2016-05-20 14:52:16 +02:00
modules Remove settings and system properties entanglement 2016-05-19 14:08:08 -04:00
query-dsl percolator: Removed percolator cache 2016-05-20 14:52:16 +02:00
release-notes Added release notes for 5.0.0-alpha2 2016-05-02 14:21:59 +02:00
search Add indent 2016-05-19 09:33:29 +02:00
setup Remove settings and system properties entanglement 2016-05-19 14:08:08 -04:00
testing Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference 2015-12-17 23:17:17 -08:00
aggregations.asciidoc Merge pull request #16741 from blachniet/patch-1 2016-03-02 10:57:56 +01:00
analysis.asciidoc First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
api-conventions.asciidoc Lessen leniency of the query dsl. #18276 2016-05-16 17:37:00 +02:00
cat.asciidoc Add support for documented byte/size units and for micros as a time unit in _cat API 2016-04-15 20:55:41 +02:00
cluster.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
docs.asciidoc Port Delete By Query to Reindex infrastructure 2016-05-19 16:07:50 +02:00
getting-started.asciidoc Remove settings and system properties entanglement 2016-05-19 14:08:08 -04:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
index-modules.asciidoc Fix fallback setting for two get/2 2016-04-22 11:10:01 -04:00
index.asciidoc Bumped docs version 2016-05-03 15:35:33 +02:00
indices.asciidoc Remove warmers and the warmer API. 2016-01-07 09:57:07 +01:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
modules.asciidoc Reorganise scripting docs (#18132) 2016-05-04 18:17:10 +02:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
release-notes.asciidoc Added release notes for 5.0.0-alpha2 2016-05-02 14:21:59 +02:00
search.asciidoc Add documentation for global search timeout 2016-01-07 10:42:18 -05:00
setup.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00