Skip to content

[Transform] Ignore IndexNotFound error when refreshing destination index #101627

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

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

przemekwitek
Copy link
Contributor

Since introducing unattended mode for transforms, the destination index can be missing when transform is started.
Because of this missing destination index, the _refresh request on this index would fail with IndexNotFoundException.
This PR fixes this by ignoring IndexNotFoundException when the destination index is missing as non-existent index does not need refreshing.

@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Oct 31, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine
Copy link
Collaborator

Hi @przemekwitek, I've created a changelog YAML for you.

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :ml/Transform Transform Team:ML Meta label for the ML team v8.11.1 v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants