Skip to content

Commit

Permalink
[DOCS] Unset machine learning upgrade mode (#39149)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Feb 20, 2019
1 parent 24ac9da commit bfc9a00
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/reference/upgrade/close-ml.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
[testenv="platinum"]

////////////
Take us out of upgrade mode after running any snippets on this page.

[source,js]
--------------------------------------------------
POST _ml/set_upgrade_mode?enabled=false
--------------------------------------------------
// CONSOLE
// TEARDOWN
////////////

If your {ml} indices were created earlier than the previous major version, they
must be reindexed. In those circumstances, there must be no machine learning
jobs running during the upgrade.
Expand Down Expand Up @@ -29,4 +40,4 @@ POST _ml/set_upgrade_mode?enabled=true
This method does not persist the absolute latest model state, rather it uses the
last model state that was automatically saved. By halting the tasks, you avoid
incurring the cost of managing active jobs during the upgrade and it's quicker
than stopping {dfeeds} and closing jobs.
than stopping {dfeeds} and closing jobs.

0 comments on commit bfc9a00

Please sign in to comment.