Skip to content

Commit 1bc2560

Browse files
authored
[DOCS] Prohibit deletion of a data stream's write index (#58341)
1 parent 27111f9 commit 1bc2560

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/reference/indices/delete-index.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ with `_all` or wildcard expressions, change the
3636
`action.destructive_requires_name` cluster setting to `true`. You can update
3737
this setting in the `elasticsearch.yml` file or using the
3838
<<cluster-update-settings,cluster update settings>> API.
39+
40+
NOTE: You cannot delete the current write index of a data stream. To delete the
41+
index, you must <<rollover-data-stream-ex,roll over>> the data stream so a new
42+
write index is created. You can then use the delete index API to delete the
43+
previous write index.
3944
--
4045

4146

0 commit comments

Comments
 (0)