Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25403 Make BlobServer/BlobCache compatible with local working directories
  3. FLINK-25436

Allow BlobServer/BlobCache to clean up unused blobs after recovering from working directory

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: