-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Make skewed partition balancer thread-safe and share among scal…
…e writer partitioners (#11786) Summary: Pull Request resolved: #11786 Make skewed partition balancer thread-safe and share it with all the scale writer local partitioners. Skewed partition balance is created by driver factory init and saved in the associated exchange plan node's state. This will help further reduces the unnecessary written files and make memory usage more efficient as all the local scale writer partitioners have the consistent partition assignment views This PR also fixes the race condition between get queue memory manager with the task terminate Reviewed By: tanjialiang, arhimondr Differential Revision: D66628614 fbshipit-source-id: dbae2ff26e8c9d5d424d6ebf99af9c5edfed1f92
- Loading branch information
1 parent
b9cce6d
commit 733bc0c
Showing
10 changed files
with
345 additions
and
131 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
Oops, something went wrong.