Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Mar 21, 2025

The Elastic inference service removes the default models at startup if the node cannot access EIS. Since #125242 we don't store default models in the cluster state but we still try to delete them. This change ensures that we don't try to update the cluster state when a default model is deleted since the delete is not performed on the master node and default models are never stored in the cluster state.

…ting

The Elastic inference service removes the default models at startup if the node cannot access EIS.
Since elastic#125242 we don't store default models in the cluster state but we still try to delete them.
This change ensures that we don't try to update the cluster state when a default model is deleted
since the delete is not performed on the master node and default models are never stored in the cluster state.
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Mar 21, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@jimczi jimczi added the auto-backport Automatically create backport pull requests when merged label Mar 21, 2025
@jimczi jimczi merged commit 0930a75 into elastic:main Mar 21, 2025
17 checks passed
@jimczi jimczi deleted the delete_model_cluster_state branch March 21, 2025 17:27
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 125369

smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
…ting (elastic#125369)

The Elastic inference service removes the default models at startup if the node cannot access EIS.
Since elastic#125242 we don't store default models in the cluster state but we still try to delete them.
This change ensures that we don't try to update the cluster state when a default model is deleted
since the delete is not performed on the master node and default models are never stored in the cluster state.
elasticsearchmachine pushed a commit that referenced this pull request Mar 25, 2025
…ting (#125369) (#125597)

The Elastic inference service removes the default models at startup if the node cannot access EIS.
Since #125242 we don't store default models in the cluster state but we still try to delete them.
This change ensures that we don't try to update the cluster state when a default model is deleted
since the delete is not performed on the master node and default models are never stored in the cluster state.
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
…ting (elastic#125369)

The Elastic inference service removes the default models at startup if the node cannot access EIS.
Since elastic#125242 we don't store default models in the cluster state but we still try to delete them.
This change ensures that we don't try to update the cluster state when a default model is deleted
since the delete is not performed on the master node and default models are never stored in the cluster state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :ml Machine learning >non-issue Team:ML Meta label for the ML team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants