You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/migration/migrate_9_0.asciidoc
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -323,12 +323,13 @@ In the current version there is no impact. In a future version, users of the `el
323
323
[[breaking_90_anomaly_detection_results]]
324
324
=== Anomaly detection results migration
325
325
326
-
The {anomaly-detect} result indices `.ml-anomalies-*` created in {es} 7.x must be either reindexed, marked read-only, or deleted before upgrading to 9.x.
326
+
The {anomaly-detect} result indices `.ml-anomalies-*` created in {es} 7.x must be either reindexed, marked read-only, or deleted before upgrading to 9.x.
327
327
328
328
**Reindexing**: While anomaly detection results are being reindexed, jobs continue to run and process new data.
329
329
However, you cannot completely delete an {anomaly-job} that stores results in this index until the reindexing is complete.
330
330
331
331
**Marking indices as read-only**: This is useful for large indexes that contain the results of only one or a few {anomaly-jobs}.
332
+
You need to update or delete all obsolete model snapshots before using this option.
332
333
If you delete these jobs later, you will not be able to create a new job with the same name.
333
334
334
335
**Deleting**: Delete jobs that are no longer needed in the {ml-app} in {kib}.
@@ -598,6 +599,8 @@ Making an index with a large amount of historical results read-only allows for a
598
599
However, it has the limitation that even after deleting an {anomaly-job}, the historical results associated with this job are not completely deleted.
599
600
Therefore, the system will prevent you from creating a new job with the same name.
600
601
602
+
Be sure to resolve any obsolete model snapshot warnings before marking the index read-only.
603
+
601
604
To set the index as read-only, add the `write` block to the index:
602
605
603
606
[source,console]
@@ -620,12 +623,12 @@ To list all jobs that stored results in an index, use the terms aggregation:
0 commit comments