Skip to content
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

Fix profiled global agg (backport of #71575) #71634

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Apr 13, 2021

This fixes the global aggregator when profile is enabled. It does so
by removing all of the special case handling for global aggs in
AggregationPhase and having the global aggregator itself perform the
scoped collection using the same trick that we use in filter-by-filter
mode of the filters aggregation.

Closes #71098

This fixes the `global` aggregator when `profile` is enabled. It does so
by removing all of the special case handling for `global` aggs in
`AggregationPhase` and having the global aggregator itself perform the
scoped collection using the same trick that we use in filter-by-filter
mode of the `filters` aggregation.

Closes elastic#71098
@nik9000 nik9000 merged commit d46ea3c into elastic:7.x Apr 13, 2021
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.

1 participant