Skip to content

Conversation

@davidkyle
Copy link
Member

Backports the following commits to 7.x:

davidkyle added 2 commits May 26, 2020 09:31
… need deleting (elastic#57041)

The queries performed by the expired data removers pull back entire documents
when only a few fields are required. For ModelSnapshots in particular this is
a problem as they contain quantiles which may be 100s of KB and the search size
is set to 10,000.

This change makes the search more efficient by only requesting the fields 
needed to work out which expired data should be deleted.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@davidkyle davidkyle merged commit 571477d into elastic:7.x May 26, 2020
@davidkyle davidkyle deleted the backport/7.x/pr-57041 branch May 26, 2020 12:27
@davidkyle davidkyle added v7.9.0 and removed v7.8.0 labels May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants