Skip to content

Commit 576da4f

Browse files
authored
[9.0] Updates ML migration guide. (#2980)
1 parent a8c6416 commit 576da4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/en/install-upgrade/upgrading-stack.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ The {anomaly-detect} result indices `.ml-anomalies-*` created in {es} 7.x must b
139139

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

142-
**Marking indices as read-only**: This is useful for large indexes that contain the results of only one or a few {anomaly-jobs}. If you delete these jobs later, you will not be able to create a new job with the same name.
142+
**Marking indices as read-only**: This is useful for large indexes that contain the results of only one or a few {anomaly-jobs}. You need to update or delete all obsolete model snapshots before using this option. If you delete these jobs later, you will not be able to create a new job with the same name.
143143

144144
**Deleting**: Delete jobs that are no longer needed in the {ml-app} app in {kib}. The result index is deleted when all jobs that store results in it have been deleted.
145145

@@ -372,6 +372,8 @@ POST _aliases
372372
====
373373
Legacy indices created in {es} 7.x can be made read-only and supported in {es} 9.x. Making an index with a large amount of historical results read-only allows for a quick migration to the next major release, since you don't have to wait for the data to be reindexed into the new format. However, it has the limitation that even after deleting an {anomaly-job}, the historical results associated with this job are not completely deleted. Therefore, the system will prevent you from creating a new job with the same name.
374374
375+
Be sure to resolve any obsolete model snapshot warnings before marking the index read-only.
376+
375377
To set the index as read-only, add the write block to the index:
376378
377379
[source,console]

0 commit comments

Comments
 (0)