leslizhang opened a new pull request, #1670:
URL: https://github.com/apache/incubator-uniffle/pull/1670

   
   ### What changes were proposed in this pull request?
   
   when spilling shuffle data, we just spill part of the reduce partition datas 
which hold the major space.
   so, in each spilling process, the WriteBufferManager.clear() method should 
implement one more logic: sort the to-be spilled buffers by their size and 
select the top-N buffers to spill.
   
   ### Why are the changes needed?
   
   related feature https://github.com/apache/incubator-uniffle/issues/1594
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   new UTs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to