-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harden exchange source handler (#104003)
There is a bug introduced when we added support for cross clusters query in ESQL. If there is a long pause before the ComputeService sends cluster requests to remote clusters, we risk finishing the exchange source without linking remote sinks of the remote clusters. I can reproduce this by inserting a long pause, but I couldn't write a useful test unless we add a tracer and provide callbacks so that we can pause in tests. This PR hardens and simplifies the exchange source handler. I will review and simplify the exchange service as the distributed execution has evolved, but we haven't simplified the exchange service much accordingly. Closes #103747 Closes #103749
- Loading branch information
Showing
4 changed files
with
40 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters