Skip to content

Save memory when histogram agg is not on top (backport of #57277)#57377

Merged
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:histo_no_multi_7_x
May 29, 2020
Merged

Save memory when histogram agg is not on top (backport of #57277)#57377
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:histo_no_multi_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented May 29, 2020

This saves some memory when the histogram aggregation is not a top
level aggregation by dropping asMultiBucketAggregator in favor of
natively implementing multi-bucket storage in the aggregator. For the
most part this just uses the LongKeyedBucketOrds that we built the
first time we did this.

This saves some memory when the `histogram` aggregation is not a top
level aggregation by dropping `asMultiBucketAggregator` in favor of
natively implementing multi-bucket storage in the aggregator. For the
most part this just uses the `LongKeyedBucketOrds` that we built the
first time we did this.
@nik9000 nik9000 merged commit 4263c25 into elastic:7.x May 29, 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