Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ParentAggregationBuilder not to support concurrent execution #99809

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Sep 22, 2023

The parent-join aggregation is resolved by looking to all segments in the index. Then in the parent aggregation, when finding a children, then it will be resolved to the parent and we count all the children documents, therefore overcounting in concurrency mode, as every thread will consider all documents in the index.

@iverase iverase requested a review from martijnvg September 22, 2023 12:26
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 22, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iverase iverase merged commit bcdd7d5 into elastic:main Sep 25, 2023
@iverase iverase deleted the ParentAggregationBuilder branch September 25, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants