forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Need to tolerate .ml-config being an alias (elastic#80025) (elas…
…tic#80036) The .ml-config index was introduced in 6.x, and hence may be reindexed by the system index upgrade code in 7.16. This in turn means that all our use of the name .ml-config must tolerate it either being a concrete index or an alias to some other index that's been created as a replacement for the original 6.x index. We were mostly compliant with this need. The only place where we weren't was in the code for config migration from cluster state. It's likely that any cluster running 7.16 would already have had configs migrated out of cluster state. The only way this couldn't be the case is if the cluster was upgraded from 6.x to 7.16 in a full cluster restart. Any rolling upgrade would have had to go via 6.8 where config migration could have taken place. But still, it's best that the patterns in the code reflect best practice for the future, as .ml-config will need to be reindexed again as the years go by.
- Loading branch information
1 parent
28d0446
commit f8aec2e
Showing
5 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters