Skip to content
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-config mappings are not updated on cluster upgrade #44263

Closed
przemekwitek opened this issue Jul 12, 2019 · 2 comments
Closed

.ml-config mappings are not updated on cluster upgrade #44263

przemekwitek opened this issue Jul 12, 2019 · 2 comments

Comments

@przemekwitek
Copy link
Contributor

When .ml-config index is created in the old version (say, 6.8), cluster is upgraded to a new version (say, 7.3) and the first config document with a new field is indexed (e.g: DataFrameAnalyticsConfig), the default mapping type (i.e. type "keyword") is applied for this new field as implemented in ElasticsearchMappings::addDefaultMapping. This default behavior is usually not desirable.

@przemekwitek przemekwitek self-assigned this Jul 12, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@droberts195
Copy link
Contributor

This is critical to fix before anyone who previously used ML in 6.6-7.2 uses data frame analytics. Otherwise their .ml-config mappings will be wrong and the only way to recover is a complicated reindex into an index with the correct mappings while care is taken not to use any ML functionality in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants