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

[8.5] [Transform] Don't fail a transform due to ILM closing an index (#90396) #90402

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

hendrikmuhs
Copy link

Backports the following commits to 8.5:

…ic#90396)

Transform can fail due to a ClusterBlockException that reports to be non-retryable. This is a special kind of race condition where the initial checks pass, but meanwhile between the check and the action something changes. In the particular case a wildcard index pattern got resolved to concrete index names. One of the indices got closed (ILM) before transform run the search operation. Pragmatically we should handle a cluster block exception as retry-able error.

fixes elastic#89802
@hendrikmuhs hendrikmuhs added :ml/Transform Transform >bug backport Team:ML Meta label for the ML team labels Sep 27, 2022
@hendrikmuhs hendrikmuhs added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 27, 2022
@hendrikmuhs
Copy link
Author

run elasticsearch-ci/part-1

2 similar comments
@hendrikmuhs
Copy link
Author

run elasticsearch-ci/part-1

@hendrikmuhs
Copy link
Author

run elasticsearch-ci/part-1

@hendrikmuhs
Copy link
Author

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 51a3006 into elastic:8.5 Sep 27, 2022
@hendrikmuhs hendrikmuhs deleted the backport/8.5/pr-90396 branch September 27, 2022 18:41
@csoulios csoulios added v8.5.0 and removed v8.5.1 labels Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :ml/Transform Transform Team:ML Meta label for the ML team v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants