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

Delete deprecated index settings "archived.*" #2800

Closed
mch2 opened this issue Apr 6, 2022 · 1 comment
Closed

Delete deprecated index settings "archived.*" #2800

mch2 opened this issue Apr 6, 2022 · 1 comment

Comments

@mch2
Copy link
Member

mch2 commented Apr 6, 2022

@faabsen commented on Mon Apr 04 2022

Is your feature request related to a problem? Please describe.
When migrating from ElasticSearch to OpenSearch (via the snapshot restore path), indexes can/will be restored with deprecated index settings, e.g. archived.index.lifecycle.name. However, when applying an index policy and switching its state, the ISM fails with the following info: "unknown setting [archived.index.lifecycle.name] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"

Describe the solution you'd like
It would be wonderful, to either let the user delete deprecated "archived" settings or fix the problem for the ISM (the ISM state change should work independently from existing deprecated "archived" settings.

Describe alternatives you've considered
Currently, only a complete reindex will fix these ISM failures. However, reindexing is time and CPU intensive.

Additional context
OpenSearch 1.2.3
Migration from ElasticSearch 7.10.2


@dbbaughe commented on Tue Apr 05 2022

archived.index.lifecycle.name isn't an ISM setting, it's an ILM setting from Elastic's x-pack feature (Index Lifecycle Management).

This error: "unknown setting [archived.index.lifecycle.name] please check that any required plugins are installed, or check the breaking changes documentation for removed settings" isn't related much to ISM.. it's the core not knowing what to do with the archived setting that was imported from the snapshot (in this case the x-pack ILM setting, but could be any setting that's in Elasticsearch and not in OpenSearch).

@anasalkouz This isn't really an ISM issue... this is a core issue relating to imported settings that OpenSearch does not support and them being archived and causing the cluster to stop specific API requests (I think it'll block all setting API calls, I forget exactly though). I'd probably move it back to core repo.

@mch2
Copy link
Member Author

mch2 commented Apr 6, 2022

Closing this as a duplicate, will have original issue transferred.

@mch2 mch2 closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant