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

[ML] Automatically rollover legacy ml indices #120405

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

davidkyle
Copy link
Member

Indices created in 7.x cannot be written to in 9. For ml to continue working in 9 any pre-8 indices must be rolled over and a new index created. Non legacy (i.e. created in 8) indices are not rolled over.

The indices rolled over in this PR are

  • .ml-state
  • .ml-stats
  • .ml-annotations

The remaining indices need extra work

This PR uses the existing MlAutoUpdateService to trigger the rollover. It will happens soon after the cluster is upgraded.

@davidkyle davidkyle added >upgrade :ml Machine learning auto-backport Automatically create backport pull requests when merged v9.0.0 v8.18.0 labels Jan 17, 2025
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Jan 17, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

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 Team:ML Meta label for the ML team >upgrade v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants