Skip to content

Fix broken parent and child aggregator (backport #63811)#63892

Merged
nik9000 merged 1 commit intoelastic:7.10from
nik9000:parent_child_aggs_busted_7_10
Oct 19, 2020
Merged

Fix broken parent and child aggregator (backport #63811)#63892
nik9000 merged 1 commit intoelastic:7.10from
nik9000:parent_child_aggs_busted_7_10

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Oct 19, 2020

In #57892 I broke some sub-aggregations inside of the parent and
child aggregator, specifically any sub-aggregations that do work in
the postCollect phase. This fixes it by delaying the post collect
phase of aggs under parent and child until beforeBuildingBuckets
because, well, we haven't done any collection until after that phase.

In elastic#57892 I broke *some* sub-aggregations inside of the `parent` and
`child` aggregator, specifically any sub-aggregations that do work in
the `postCollect` phase. This fixes it by delaying the post collect
phase of aggs under `parent` and `child` until `beforeBuildingBuckets`
because, well, we haven't done *any* collection until after that phase.
@nik9000 nik9000 merged commit 5583db5 into elastic:7.10 Oct 19, 2020
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