|
@@ -173,7 +173,18 @@ the datafeeds from {kib} or with the <<ml-open-job,open jobs>> and
|
|
|
|
|
|
include::{es-repo-dir}/setup/restart-cluster.asciidoc[tag=disable_shard_alloc]
|
|
|
|
|
|
-include::{es-repo-dir}/setup/restart-cluster.asciidoc[tag=stop_indexing]
|
|
|
+. *Stop non-essential indexing and perform a flush.* (Optional)
|
|
|
++
|
|
|
+--
|
|
|
+While you can continue indexing during the rolling restart, shard recovery
|
|
|
+can be faster if you temporarily stop non-essential indexing and perform a
|
|
|
+<<indices-flush, flush>>.
|
|
|
+
|
|
|
+[source,console]
|
|
|
+--------------------------------------------------
|
|
|
+POST /_flush
|
|
|
+--------------------------------------------------
|
|
|
+--
|
|
|
|
|
|
include::{es-repo-dir}/setup/restart-cluster.asciidoc[tag=stop_ml]
|
|
|
+
|