Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deadlock in SqlStageExecution.waitForNewExchangesOrBuffers
The waiting code only breaks if all sources are completed, but once a source completes we must set no more splits on the tasks. Upon review of the waiting code, this entire method can be replaced with a simple timed wait.
- Loading branch information
Showing
1 changed file
with
13 additions
and
34 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