-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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.*" #2803
Comments
This error: @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. |
Issue moved to opensearch-project/OpenSearch #2800 via ZenHub |
This looks like a bwc concern for the OpenSearch repo. @anasalkouz can you pls transfer back? Looks like my transfer permissions/options are different than yours. |
Another alternative is to ignore these ilm settings in the _restore the indices will be restored without the deprecated index settings (e.g. |
Similar issue found on one of the cluster while removing the index block write.
|
Restoring snapshot without index setting should help in mitigation in this particular case but doesn't solve one major issue.The issue is that if we move any index setting to archived, there is no way to clear that setting via update setting. By adding There is a bug(link1 link2) in the code due to which we can't clear these settings. During update settings call, we expect all index settings to start with
We need to fix the logic to skip adding the |
Options for Remediation:
|
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
The text was updated successfully, but these errors were encountered: