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

POST system feature migration request returns before migration is in progress #79680

Closed
williamrandolph opened this issue Oct 22, 2021 · 1 comment · Fixed by #80572
Closed
Assignees
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v7.16.0 v8.0.0-rc1 v8.1.0

Comments

@williamrandolph
Copy link
Contributor

The POST request to /_migration/system_features returns after the migration task has been submitted, but before it actually begins. This means that an immediately subsequent call to GET /_migration/system_features may return MIGRATION_NEEDED rather than IN_PROGRESS. This, in fact, happens consistently in the Upgrade Assistant. We should find a way to make sure that a call to GET /_migration/system_features returns state relevant to the most recent POST request.

cc @sabarasaba

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Oct 22, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v7.16.0 v8.0.0-rc1 v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants