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
Update Settings API with _all target should not attempt to override settings on system indices #89692
Comments
This is a bug - the update index settings API, with the default expand_wildcards query value of open, should not match system indices. |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Are there any situations where |
|
I've been unable to reproduce this on 8.3.2 or latest 8.5.0, the settings command completes successfully with the data & transforms in place. |
@thecoop, perhaps the missing step is getting 7.17 going first, upgrading to 8.3 and then trying? |
I added some sample data from kibana to a running 7.17.6, added a random transform, then copied the data directory into a 8.5 snapshot directory, started it up, then ran the update index command |
If you explicitly set |
This bug still surfaces 8.6.x. Is there any potential resolution ETA? E.g. trying
errors
|
I'm also having that issue. I've talked with support and they cannot tell me when this will be fixed. The only thing we can do is to "vote" to have it fixed, but I doubt that will change anything... The only way to make the change is the workaround provided by @ChrisHegarty .
|
Elasticsearch Version
8.3.2, 8.5-SNAPSHOT
Installed Plugins
No response
Java Version
bundled
OS Version
Darwin chegar-MBP.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
Problem Description
When following the instructions to delay allocation when a node leaves, on a node that has been upgraded from 7.17.6 to 8.3.2 (or later), the settings update fails with:
Steps to Reproduce
Logs (if relevant)
The logs show:
Workaround
Use the following regex as the target path
/*,-.*/_settings
(rather than_all
). This will ensure that hidden indices are not selected.The text was updated successfully, but these errors were encountered: