Skip to content

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jul 12, 2025

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

By default, ES|QL uses all workers in the esql_worker threadpool to
execute drivers on data nodes. If a node is both data and coordinator,
and all drivers are blocked by the allowEmitting latch, there are no
workers left to execute the final driver or fetch pages from remote
clusters. This can prevent remote clusters from being marked as
successful on the coordinator, even if they have completed. To avoid
this, we reserve at least one worker for the final driver and page
fetching. A single worker is enough, as these two tasks can be paused
and yielded.

Closes elastic#121672

(cherry picked from commit b325f2b)
@dnhatn dnhatn mentioned this pull request Jul 12, 2025
@dnhatn dnhatn added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jul 12, 2025
@elasticsearchmachine elasticsearchmachine merged commit e6f3188 into elastic:9.1 Jul 15, 2025
34 checks passed
@dnhatn dnhatn deleted the backport/9.1/pr-131130 branch July 15, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v9.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants