-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Feature migration refuses to run if all features requiring upgrade have encountered errors #83917
Copy link
Copy link
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 teamv7.17.0
Description
Elasticsearch Version
7.17.0
Installed Plugins
none
Java Version
bundled
OS Version
Doesn't matter
Problem Description
If all features which still require migration have encountered an error, trying to start migration produces no results, only a response claiming no migration is necessary, even if that's not true. This means that transient errors that occur during migration are impossible to retry.
The only known workaround for this is a full-cluster restart, which will clear the migration upgrade result metadata.
Steps to Reproduce
- Start a cluster using a 6.x version.
- Upgrade it to 7.17.0.
- Run system index migration, but ensure that some indices fail (e.g. by triggering [Upgrade] migration system indices fails for tasks: mapper_parsing_exception #83779, which
.tasksalways will - fortunately that is easy enough to work around by removing the index) - Try to re-run migration. Migration will not try to re-run.
Logs (if relevant)
The response will just say no migration is necessary:
{
"accepted" : false,
"reason" : "No system indices require migration"
}Reactions are currently unavailable
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 teamv7.17.0
Type
Fields
Give feedbackNo fields configured for issues without a type.