Skip to content

Commit

Permalink
fix local shuffle with bucket shuffle join
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jun 21, 2024
1 parent 163b4af commit 8bfbf0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ private List<AssignedJob> fillUpInstances(
Worker worker = workerToBuckets.getKey();
BucketScanSource scanSource = new BucketScanSource(scanEmptyBuckets);
if (useLocalShuffle) {
// when use local shuffle, we should ensure every backend only process one instance!
// so here we should try to merge the missing buckets into exist instances
boolean mergedBucketsInSameWorkerInstance = false;
for (AssignedJob newInstance : newInstances) {
if (newInstance.getAssignedWorker().equals(worker)) {
Expand Down

0 comments on commit 8bfbf0a

Please sign in to comment.