-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Retry migration operations which fail due to snapshot in progress #58884
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
💚 Build SucceededTo update your PR or re-run it, just comment with: |
error instanceof esErrors.Gone | ||
error instanceof esErrors.Gone || | ||
error?.body?.error?.type === 'snapshot_in_progress_exception' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is not on our side, but ES error handling seems like a mess...
@elasticmachine merge upstream |
CI previously passed but failed after merging master due to #58983 so going ahead and merging. |
…astic#58884) Co-authored-by: Elastic Machine <[email protected]>
…astic#58884) Co-authored-by: Elastic Machine <[email protected]>
…8884) (#59018) Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
…ss (#58884) (#59019) * Retry migration operations which fail due to snapshot in progress (#58884) Co-authored-by: Elastic Machine <[email protected]> * Import APICaller type Co-authored-by: Elastic Machine <[email protected]>
Summary
Fixes: #47808
Related to: #52202
Release notes:
Fixes a bug that could cause saved object migrations to fail when an Elasticsearch snapshot is currently in progress.
Checklist
Delete any items that are not applicable to this PR.
For maintainers