forked from trinodb/trino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit partitionDataSizeSinceLastRebalance to 0
Since we estimate the partitionDataSize based on partitionRowCount and total data processed. It is possible that the estimated partitionDataSize is slightly less than it was estimated at the last rebalance cycle. That's because for a given partition, row count hasn't increased, however overall data processed has increased. Therefore, we need to make sure that the estimated partitionDataSize since last rebalance is always greater than 0. Otherwise, it will affect the ordering of minTaskBuckets priority queue.
- Loading branch information
1 parent
77cb0d6
commit b5d978d
Showing
2 changed files
with
118 additions
and
1 deletion.
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