Skip to content

Conversation

@przemekwitek
Copy link
Contributor

PostDataActionResponse.DataCounts.bucketCount was treated as absolute (total) so far. This could have caused consecutive averages being unrelated to each other, hence significantly different.
This in turn causes a lot of document updates and overall slowness.
This PR fixes the bug with the hope the performance will go back to normal.

Related to #44792

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@przemekwitek przemekwitek force-pushed the accept_incremental_bucket_count branch from 46a0fbc to 1204a73 Compare July 24, 2019 11:02
@przemekwitek przemekwitek force-pushed the accept_incremental_bucket_count branch from 1204a73 to 341976a Compare July 24, 2019 11:03
Copy link

@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 merged commit 5ba0fd3 into elastic:master Jul 25, 2019
@przemekwitek przemekwitek deleted the accept_incremental_bucket_count branch July 25, 2019 13:59
przemekwitek added a commit to przemekwitek/elasticsearch that referenced this pull request Jul 25, 2019
przemekwitek added a commit that referenced this pull request Jul 25, 2019
jkakavas pushed a commit that referenced this pull request Jul 31, 2019
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