q2w commented on pull request #32902:
URL: https://github.com/apache/spark/pull/32902#issuecomment-872490128


   > This would be inconsistent with the expectation of the storage level set 
on the RDD/DF.
   > Instead, what we can do is prefer disk in case it is available as an 
option (if `storageLevel.useDisk == true`)
   
   @mridulm  That's correct.  In the current flow of decommissioning,the blocks 
being offloaded can replace existing cached blocks on peer block manager if 
enough memory is not available. This way we are saving one cached block by 
loosing another.
   If this change is in, we can avoid loosing cached blocks to place offloading 
cached blocks.
   This PR came out as a result of discussion on another related PR. 
https://github.com/apache/spark/pull/32677 


-- 
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