-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML] Need to cope with .ml-config being an alias #38796
Comments
Pinging @elastic/ml-core |
I stopped looking when I found this, but that doesn't mean it's the only place that fails to work when |
#38821 shows the similar change that was made for results indices. |
The error is that the ml code uses
#39256 describes the problem and closes this. |
Closed by #39256 |
The code to use
.ml-config
for storing configurations currently assumes that.ml-config
will be a concrete index, not an alias.Until now we had assumed that we would have until 7.last to sort this out, as that is when people will potentially do a rolling upgrade to 8.x. However, this assumption is wrong. The migration assistant that can reindex indices in the 6.x format into 7.x format will exist in 7.0. There is nothing to stop somebody reindexing a
.ml-config
index created in 6.x into 7.x format as soon as they install 7.0.Currently it causes a problem if you do this. I reindexed a 6.x
.ml-config
index in 7.0.0-beta1 using the migration assistant and got an index called.reindexed-v7-ml-config
with an alias.ml-config
pointing at it. Some parts of ML still worked in this state, but creating a new job did not:Our 7.0 code needs to be made robust to the possibility that
.ml-config
is an alias to some other index before 7.0.0 GA.The text was updated successfully, but these errors were encountered: