Skip to content

Commit 9089e45

Browse files
authored
Update docs that closing a data stream's write index is allowed (#71039)
This was forgotten as part of #70908
1 parent 2f9c731 commit 9089e45

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

docs/reference/indices/open-close.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ Closed indices consume a significant amount of disk-space which can cause
6464
problems in managed environments. Closing indices can be disabled via the cluster settings
6565
API by setting `cluster.indices.close.enable` to `false`. The default is `true`.
6666

67-
The current write index on a data stream cannot be closed. In order to close
68-
the current write index, the data stream must first be
69-
<<data-streams-rollover,rolled over>> so that a new write index is created
70-
and then the previous write index can be closed.
71-
7267
// end::closed-index[]
7368

7469
[[open-index-api-wait-for-active-shards]]

docs/reference/snapshot-restore/apis/restore-snapshot-api.asciidoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ POST /_snapshot/my_repository/my_snapshot/_restore
7272

7373
Use the restore snapshot API to restore a snapshot of a cluster, including all data streams and indices in the snapshot. If you do not want to restore the entire snapshot, you can select specific data streams or indices to restore.
7474

75-
NOTE: You cannot restore a data stream if a stream with the same name already
76-
exists.
77-
7875
You can run the restore operation on a cluster that contains an elected
7976
<<master-node,master node>> and has data nodes with enough capacity to accommodate the snapshot
8077
you are restoring. Existing indices can only be restored if they are

docs/reference/snapshot-restore/restore-snapshot.asciidoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ new indices if they didn't exist in the cluster.
107107
If a data stream is restored, its backing indices are also restored. The restore
108108
operation automatically opens restored backing indices if they were closed.
109109

110-
NOTE: You cannot restore a data stream if a stream with the same name already
111-
exists.
112-
113110
In addition to entire data streams, you can restore only specific backing
114111
indices from a snapshot. However, restored backing indices are not automatically
115112
added to any existing data streams. For example, if only the

0 commit comments

Comments
 (0)