Skip to content

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

Merged
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:backport/7.x/pr-54752
Apr 13, 2020
Merged

[7.x] [ML] inference only persist if there are stats (#54752)#55121
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:backport/7.x/pr-54752

Conversation

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