forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate driver context in parallel join build (facebookincubator#11329
) Summary: When hash build is building join table, it suspends the current running driver, to prevent the parallel building threads from triggering arbitration and create a deadlock situation. The downside of this approach is, we lose the opportunity of reclaiming from it, because we will not wait for the table build to finish and become reclaimable when reclaiming from the operators. This PR removes the suspension logic. Instead it pushes in the driver context to the parallel building threads so that these threads, when triggering arbitration (because suspension is removed), can correctly suspend the current running driver, so that the reclaiming can wait for it to finish the table build and get a chance to reclaim from it. Pull Request resolved: facebookincubator#11329 Reviewed By: xiaoxmeng Differential Revision: D64795445 Pulled By: tanjialiang fbshipit-source-id: 3856645ede8acc82690c3a28aecec6e1c61b560c
- Loading branch information
1 parent
c7fe8e7
commit 2e837a8
Showing
9 changed files
with
44 additions
and
27 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
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
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