Skip to content

Commit bdd3a82

Browse files
authored
[DOCS] Unset machine learning upgrade mode (#39149)
1 parent ff710ed commit bdd3a82

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/reference/upgrade/close-ml.asciidoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
[testenv="platinum"]
22

3+
////////////
4+
Take us out of upgrade mode after running any snippets on this page.
5+
6+
[source,js]
7+
--------------------------------------------------
8+
POST _ml/set_upgrade_mode?enabled=false
9+
--------------------------------------------------
10+
// CONSOLE
11+
// TEARDOWN
12+
////////////
13+
314
If your {ml} indices were created earlier than the previous major version, they
415
must be reindexed. In those circumstances, there must be no machine learning
516
jobs running during the upgrade.
@@ -29,4 +40,4 @@ POST _ml/set_upgrade_mode?enabled=true
2940
This method does not persist the absolute latest model state, rather it uses the
3041
last model state that was automatically saved. By halting the tasks, you avoid
3142
incurring the cost of managing active jobs during the upgrade and it's quicker
32-
than stopping {dfeeds} and closing jobs.
43+
than stopping {dfeeds} and closing jobs.

0 commit comments

Comments
 (0)