-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Improvements to job saved object sync #101899
[ML] Improvements to job saved object sync #101899
Conversation
@elasticmachine merge upstream |
Pinging @elastic/ml-ui (:ml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional tests LGTM, just one suggestion.
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⚡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and LGTM
* [ML] Improvements to job saved object sync * refactor * adding testsadding testsadding testsadding testsadding testsadding testsadding testsadding tests * updating test label Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* [ML] Improvements to job saved object sync * refactor * adding testsadding testsadding testsadding testsadding testsadding testsadding testsadding tests * updating test label Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: James Gowdy <[email protected]>
* [ML] Improvements to job saved object sync * refactor * adding testsadding testsadding testsadding testsadding testsadding testsadding testsadding tests * updating test label Co-authored-by: Kibana Machine <[email protected]>
Improves the saved object synchronisation for ML Jobs when datafeeds have been added and removed manually in elasticsearch.
Specifically this scenario:
Previously, after syncing the jobs in the last step, the old datafeed would be removed from the saved object but it would stay in a state where the new datafeed could not then be attached to the saved object with subsequent syncs.
With this fix, after the last step the old datafeed will be removed from the saved object, but the user will need to sync a second time to attach the new datafeed.
Unit or functional tests were updated or added to match the most common scenarios
This was checked for breaking API changes and was labeled appropriately