Skip to content

ML allow aliased .ml-anomalies* index on PUT Job (#38821)#38847

Merged
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:bug/ml-allow-aliased-results-index-on-put-job-7x
Feb 13, 2019
Merged

ML allow aliased .ml-anomalies* index on PUT Job (#38821)#38847
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:bug/ml-allow-aliased-results-index-on-put-job-7x

Conversation

@benwtrent
Copy link
Copy Markdown
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
Copy Markdown
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