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

Do not execute ML CRUD actions when upgrade mode is enabled #54437

Merged
merged 4 commits into from
Apr 10, 2020

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Mar 30, 2020

This PR does not allow ML CRUD actions to be executed when ML upgrade mode is enabled.
This is achieved using MlUpgradeModeActionFilter that keeps track of current cluster state so it knows whether upgrade mode is currently enabled.

Relates #54326

@przemekwitek przemekwitek force-pushed the upgrade_mode_actions branch 4 times, most recently from 3366a26 to 1c988e7 Compare April 7, 2020 12:28
@przemekwitek przemekwitek force-pushed the upgrade_mode_actions branch 4 times, most recently from 0415142 to c1bac1f Compare April 7, 2020 17:46
@przemekwitek przemekwitek changed the title Upgrade Mode Exception PoC Do not execute ML CRUD actions when upgrade mode is enabled Apr 7, 2020
@przemekwitek przemekwitek force-pushed the upgrade_mode_actions branch 3 times, most recently from d6c4281 to db31c85 Compare April 8, 2020 06:42
@przemekwitek przemekwitek removed the WIP label Apr 8, 2020
@przemekwitek przemekwitek force-pushed the upgrade_mode_actions branch 2 times, most recently from a9e88d7 to e112af1 Compare April 8, 2020 07:39
@przemekwitek przemekwitek marked this pull request as ready for review April 8, 2020 07:44
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@przemekwitek przemekwitek force-pushed the upgrade_mode_actions branch from f1a2fc6 to 7c3fec4 Compare April 10, 2020 07:26
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants