Browse Source

[DOCS] Prohibit deletion of a data stream's write index (#58341)

James Rodewig 5 years ago
parent
commit
1bc256078a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/reference/indices/delete-index.asciidoc

+ 5 - 0
docs/reference/indices/delete-index.asciidoc

@@ -36,6 +36,11 @@ with `_all` or wildcard expressions, change the
 `action.destructive_requires_name` cluster setting to `true`. You can update
 this setting in the `elasticsearch.yml` file or using the
 <<cluster-update-settings,cluster update settings>> API.
+
+NOTE: You cannot delete the current write index of a data stream. To delete the
+index, you must <<rollover-data-stream-ex,roll over>> the data stream so a new
+write index is created. You can then use the delete index API to delete the
+previous write index.
 --