Skip to content

Commit

Permalink
[VL] Pass phase in recursive invocation of spillTree (apache#7388)
Browse files Browse the repository at this point in the history
  • Loading branch information
waitinfuture authored Sep 30, 2024
1 parent 69a914f commit b21a0b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static long spillTree(TreeMemoryTarget node, Spiller.Phase phase, final
long remainingBytes = bytes;
while (q.peek() != null && remainingBytes > 0) {
TreeMemoryTarget head = q.remove();
long spilled = spillTree(head, remainingBytes);
long spilled = spillTree(head, phase, remainingBytes);
remainingBytes -= spilled;
}

Expand Down

0 comments on commit b21a0b5

Please sign in to comment.