Skip to content

Save memory when parent and child are not on top (backport #57892)#57944

Merged
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:parent_child_mem_7_x
Jun 10, 2020
Merged

Save memory when parent and child are not on top (backport #57892)#57944
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:parent_child_mem_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jun 10, 2020

Reworks the parent and child aggregation are not at the top level
using the optimization from #55873. Instead of wrapping all
non-top-level parent and child aggregators we now handle being a
child aggregator in the aggregator, specifically by adding recording
which global ordinals show up in the parent and then checking if they
match the child.

Reworks the `parent` and `child` aggregation are not at the top level
using the optimization from elastic#55873. Instead of wrapping all
non-top-level `parent` and `child` aggregators we now handle being a
child aggregator in the aggregator, specifically by adding recording
which global ordinals show up in the parent and then checking if they
match the child.
@nik9000 nik9000 merged commit 0a2bd10 into elastic:7.x Jun 10, 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