Skip to content

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

Merged
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:parent_child_aggs_busted_7_x
Oct 19, 2020
Merged

Fix broken parent and child aggregator (backport #63811)#63886
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:parent_child_aggs_busted_7_x

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 2096f6d into elastic:7.x 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