Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Mar 3, 2025

If the final driver is woken up before the exchange buffer is finished, there will be two sleeps in its profile instead of one. We don't need these assertions to be so precise. This change relaxes the assertions to allow reduce operators to have more than one sleep.

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.0.1 v9.1.0 labels Mar 3, 2025
@dnhatn dnhatn requested a review from nik9000 March 3, 2025 20:38
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Mar 3, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@dnhatn
Copy link
Member Author

dnhatn commented Mar 3, 2025

Thanks Nik!

@dnhatn dnhatn merged commit 782a36c into elastic:main Mar 3, 2025
17 checks passed
@dnhatn dnhatn deleted the fix-profiles branch March 3, 2025 23:24
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0

dnhatn added a commit to dnhatn/elasticsearch that referenced this pull request Mar 3, 2025
If the final driver is woken up before the exchange buffer is finished, 
there will be two sleeps in its profile instead of one. We don't need
these assertions to be so precise. This change relaxes the assertions to
allow reduce operators to have more than one sleep.
elasticsearchmachine pushed a commit that referenced this pull request Mar 4, 2025
If the final driver is woken up before the exchange buffer is finished, 
there will be two sleeps in its profile instead of one. We don't need
these assertions to be so precise. This change relaxes the assertions to
allow reduce operators to have more than one sleep.
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Mar 11, 2025
If the final driver is woken up before the exchange buffer is finished, 
there will be two sleeps in its profile instead of one. We don't need
these assertions to be so precise. This change relaxes the assertions to
allow reduce operators to have more than one sleep.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants