Skip to content

[7.x] [ML] inference only persist if there are stats (#54752) #55121

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

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

benwtrent
Copy link
Member

Backports the following commits to 7.x:

We needlessly send documents to be persisted. If there are no stats added, then we should not attempt to persist them.

Also, this PR fixes the race condition that caused issue:  elastic#54786
@benwtrent benwtrent added :ml Machine learning backport labels Apr 13, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent benwtrent merged commit d32f6fe into elastic:7.x Apr 13, 2020
@benwtrent benwtrent deleted the backport/7.x/pr-54752 branch April 13, 2020 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants