[ 
https://issues.apache.org/jira/browse/FLINK-25436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Till Rohrmann closed FLINK-25436.
---------------------------------
    Resolution: Fixed

Fixed via

aa91a65af3c5e3e52d2900e54a33484db00d6679
1c220bd303cc67fd04c5d0822bd3a943acff15db
d9d8ebc1c79352f8aab1994ad86083809dc8f07e
3e862a3a45ef97d319d7e1a7159ac185913e31b7

> Allow BlobServer/BlobCache to clean up unused blobs after recovering from 
> working directory
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-25436
>                 URL: https://issues.apache.org/jira/browse/FLINK-25436
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>    Affects Versions: 1.15.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> In order to let the {{BlobServer}} and the {{BlobCache}} properly clean up 
> unused blobs that are recovered from the working directory, we have to 
> register them for clean up and offer hooks to delete irrelevant job artifacts.
> I propose to scan the blobStorage directory at startup and to register for 
> transient blobs the expiry timeouts. Moreover, for the {{BlobServer}} we need 
> to add a {{retainJobs}} method that deletes all jobs that are not in the 
> given list of {{JobIDs}}. Last but not least we also need to register the 
> permanent blobs in the {{PermanentBlobCacheService}} so that they get timed 
> out if not used anymore.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to