This commit is contained in:
parent
35a703db16
commit
84513c7539
|
@ -6,7 +6,7 @@
|
||||||
<titleabbrev>Freeze index</titleabbrev>
|
<titleabbrev>Freeze index</titleabbrev>
|
||||||
++++
|
++++
|
||||||
|
|
||||||
Freezes an index.
|
Freezes an index.
|
||||||
|
|
||||||
[[freeze-index-api-request]]
|
[[freeze-index-api-request]]
|
||||||
==== {api-request-title}
|
==== {api-request-title}
|
||||||
|
@ -24,6 +24,11 @@ metadata in memory) and is read-only. Read-only indices are blocked for write
|
||||||
operations, such as <<indexing,docs-index_>> or <<indices-forcemerge,force
|
operations, such as <<indexing,docs-index_>> or <<indices-forcemerge,force
|
||||||
merges>>. See <<frozen-indices>> and <<unfreeze-index-api>>.
|
merges>>. See <<frozen-indices>> and <<unfreeze-index-api>>.
|
||||||
|
|
||||||
|
The current write index on a data stream cannot be frozen. In order to freeze
|
||||||
|
the current write index, the data stream must first be
|
||||||
|
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
||||||
|
and then the previous write index can be frozen.
|
||||||
|
|
||||||
IMPORTANT: Freezing an index will close the index and reopen it within the same
|
IMPORTANT: Freezing an index will close the index and reopen it within the same
|
||||||
API call. This causes primaries to not be allocated for a short amount of time
|
API call. This causes primaries to not be allocated for a short amount of time
|
||||||
and causes the cluster to go red until the primaries are allocated again. This
|
and causes the cluster to go red until the primaries are allocated again. This
|
||||||
|
|
Loading…
Reference in New Issue