Skip to content

Commit

Permalink
Add warning to settings documentation about setting number_of_replica…
Browse files Browse the repository at this point in the history
…s on a closed index

Issue #9566 raises the point that setting the number of shards on a closed index can lead to this index not beeing able to open again. This change in documentation is ment to warn the user about this issue.
  • Loading branch information
Christoph Büscher committed Feb 6, 2015
1 parent 2302222 commit dfc0496
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/indices/update-settings.asciidoc
Expand Up @@ -29,6 +29,12 @@ curl -XPUT 'localhost:9200/my_index/_settings' -d '
}'
--------------------------------------------------

[WARNING]
========================
When changing the number of replicas the index needs to be open. Changing
the number of replicas on a closed index might prevent the index to be opened correctly again.
========================

Below is the list of settings that can be changed using the update
settings API:

Expand Down

0 comments on commit dfc0496

Please sign in to comment.