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

[7.x][ML] Create state index and alias before starting an analytics j… #46648

Conversation

@dimitris-athanasiou
Copy link
Contributor

commented Sep 12, 2019

…ob (#46602)

This is fixing a bug where if an analytics job is started before any
anomaly detection job is opened, we create an index after the state
write alias.

Instead, we should create the state index and alias before starting
an analytics job and this commit makes sure this is the case.

Backport of #46602

[7.x][ML] Create state index and alias before starting an analytics j…
…ob (#46602)

This is fixing a bug where if an analytics job is started before any
anomaly detection job is opened, we create an index after the state
write alias.

Instead, we should create the state index and alias before starting
an analytics job and this commit makes sure this is the case.

Backport of #46602
@elasticmachine

This comment has been minimized.

Copy link
Collaborator

commented Sep 12, 2019

@dimitris-athanasiou

This comment has been minimized.

Copy link
Contributor Author

commented Sep 12, 2019

@elasticmachine update branch

@dimitris-athanasiou dimitris-athanasiou merged commit 0bc8aca into elastic:7.x Sep 13, 2019

8 checks passed

CLA All commits in pull request signed
Details
elasticsearch-ci/1 Build finished.
Details
elasticsearch-ci/2 Build finished.
Details
elasticsearch-ci/bwc Build finished.
Details
elasticsearch-ci/default-distro Build finished.
Details
elasticsearch-ci/docs Build finished.
Details
elasticsearch-ci/oss-distro-docs Build finished.
Details
elasticsearch-ci/packaging-sample Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.