Skip to content

Commit 0fbed57

Browse files
committed
Updated text
1 parent 3d2c68c commit 0fbed57

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/reference/migration/migrate_9_0.asciidoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,13 @@ In the current version there is no impact. In a future version, users of the `el
323323
[[breaking_90_anomaly_detection_results]]
324324
=== Anomaly detection results migration
325325

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.
327327

328328
**Reindexing**: While anomaly detection results are being reindexed, jobs continue to run and process new data.
329329
However, you cannot completely delete an {anomaly-job} that stores results in this index until the reindexing is complete.
330330

331331
**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.
332333
If you delete these jobs later, you will not be able to create a new job with the same name.
333334

334335
**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
598599
However, it has the limitation that even after deleting an {anomaly-job}, the historical results associated with this job are not completely deleted.
599600
Therefore, the system will prevent you from creating a new job with the same name.
600601
602+
Be sure to resolve any obsolete model snapshot warnings before marking the index read-only.
603+
601604
To set the index as read-only, add the `write` block to the index:
602605
603606
[source,console]
@@ -620,12 +623,12 @@ To list all jobs that stored results in an index, use the terms aggregation:
620623
------------------------------------------------------------
621624
GET .ml-anomalies-custom-example/_search
622625
{
623-
"size": 0,
626+
"size": 0,
624627
"aggs": {
625628
"job_ids": {
626629
"terms": {
627-
"field": "job_id",
628-
"size": 100
630+
"field": "job_id",
631+
"size": 100
629632
}
630633
}
631634
}

0 commit comments

Comments
 (0)