gianm opened a new pull request, #18871:
URL: https://github.com/apache/druid/pull/18871

   The purpose of this config is to enable using SegmentLocalCacheManager for 
loading segments on MSQ worker tasks, where segments are not assigned by 
load/drop rules, and where there is not generally a specific maxSize configured 
for the local cache. We need to evict segments immediately so local disks don't 
fill up.
   
   The main changes:
   
   1) In StorageLocation, update the `releaseHold` runnable to check for 
`evictImmediately`. If it is set, unmount the cache entry if all holds have 
been released.
   
   2) In SegmentLocalCacheManager, when `evictImmediately` is set, `mount` sets 
an `onUnmount` handler to delete the info file.


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