-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
Elasticsearch Version
upgrade from 7.x -> 8.0.0
Installed Plugins
No response
Java Version
bundled
OS Version
Linux
Problem Description
Recently we encountered a user issue report where upgrades to 8.0.1 from 7.17.1 caused an unhealthy cluster because the option index.indexing.slowlog.level wasn't removed prior to upgrading.
We'll use this issue to understand how this happened and ways we can prevent the upgrade before irreversible changes are done to the Elasticsearch metadata or data.
Steps to Reproduce
- Get Elasticsearch 7.9 cluster with the
index.indexing.slowlog.leveloption set. - Upgrade to 7.17.1 ignore the deprecation warning
- Upgrade to 8.0.1
Expected behaviour: the 8.0.1 upgrade should fail to start but not upgrade any metadata or data
Current behaviour: the upgrade to 8.0.1 proceeds irreversibly modifying the metadata before options are validated and start is unsuccessful.
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team