Skip to content

Conversation

@prwhelan
Copy link
Member

@prwhelan prwhelan commented Dec 4, 2024

Putting a new Transform should create the latest system index if it doesn't already exist, and Transforms should wait for the system index to become fully available since Transforms immediately starts searching over the index.

We have existing code to migrate Transforms to new system indices within the PersistentTaskExecutor, we can reuse that when we create new Transforms.

This isn't copied to places like Update because:

  1. Updates can work on old system indices for existing Transforms, and PersistentTaskExecutor will continue to migrate those Transforms.
  2. You cannot update a non-existent Transform anyway.

Fix #117995

Putting a new Transform should create the latest system index if it
doesn't already exist, and Transforms should wait for the system index
to become fully available since Transforms immediately starts searching
over the index.

We have existing code to migrate Transforms to new system indices within
the PersistentTaskExecutor, we can reuse that when we create new
Transforms.

This isn't copied to places like Update because:
1. Updates can work on old system indices for existing Transforms, and
   PersistentTaskExecutor will continue to migrate those Transforms.
2. You cannot update a non-existent Transform anyway.

Fix elastic#117995
@prwhelan prwhelan added >bug :ml/Transform Transform Team:ML Meta label for the ML team v9.0.0 labels Dec 4, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@prwhelan
Copy link
Member Author

prwhelan commented Dec 4, 2024

@elasticmachine update branch

@prwhelan
Copy link
Member Author

@elasticmachine update branch

@prwhelan prwhelan marked this pull request as ready for review January 28, 2025 21:05
@elasticsearchmachine
Copy link
Collaborator

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

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 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Transforms] Batch creating Transforms on a new cluster fails

3 participants