Skip to content

Conversation

@henningandersen
Copy link
Contributor

When a CCS search is proxied, the memory for the aggregations on the
proxy node would not be freed.

Now only use the non-copying byte referencing version on the coordinating node,
which itself ensures that memory is freed by calling consumeAggs.

Relates #72309

When a CCS search is proxied, the memory for the aggregations on the
proxy node would not be freed.

Now only use the non-copying byte referencing version on the coordinating node,
which itself ensures that memory is freed by calling `consumeAggs`.
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 4, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

@henningandersen henningandersen merged commit d491c63 into elastic:7.x Oct 5, 2021
henningandersen added a commit that referenced this pull request Oct 5, 2021
When a CCS search is proxied, the memory for the aggregations on the
proxy node would not be freed.

Now only use the non-copying byte referencing version on the coordinating node,
which itself ensures that memory is freed by calling `consumeAggs`.

Relates #72309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants