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 allow aliased .ml-anomalies* index on PUT Job (#38821) #38847

Conversation

benwtrent
Copy link
Member

Manually tested in the following manner:

  • Created and opened A job
  • Created a new index with the same mappings, aliases and properties as the .ml-anomalies-shared index
  • Reindexed .ml-anomalies-shared into new index
  • DELETE .ml-anomalies-shared
  • Created alias for .ml-anomalies-shared to point to new concrete index.
  • Created and opened a new job that needs the shared index.

After the test

GET _cat/aliases?v
alias                     index                           filter routing.index routing.search
.ml-annotations-read      .ml-annotations-6               -      -             -
.ml-annotations-write     .ml-annotations-6               -      -             -
.kibana                   .kibana_1                       -      -             -
.ml-anomalies-.write-jb2  .reindex-6-.ml-anomalies-shared -      -             -
.ml-anomalies-.write-job1 .reindex-6-.ml-anomalies-shared -      -             -
.ml-anomalies-jb2         .reindex-6-.ml-anomalies-shared *      -             -
.ml-anomalies-job1        .reindex-6-.ml-anomalies-shared *      -             -
.ml-anomalies-shared      .reindex-6-.ml-anomalies-shared -      -             -
.ml-state-write           .ml-state                       -      -             -

closes #38773

backport #38821

@benwtrent benwtrent added :ml Machine learning backport v7.2.0 labels Feb 13, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@benwtrent benwtrent merged commit d2ac05e into elastic:7.x Feb 13, 2019
@benwtrent benwtrent deleted the bug/ml-allow-aliased-results-index-on-put-job-7x branch February 13, 2019 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants