You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Bernd Mathiske (JIRA)" <ji...@apache.org> on 2015/06/05 09:46:00 UTC

[jira] [Commented] (MESOS-2073) Fetcher cache file verification, updating and invalidation

    [ https://issues.apache.org/jira/browse/MESOS-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574083#comment-14574083 ] 

Bernd Mathiske commented on MESOS-2073:
---------------------------------------

Forced cache updates and prefetching have been removed in order to get the MVP out. I may add them back later. Meanwhile, checksum-based automatic refresh seems a lot higher priority. So that's next.

> Fetcher cache file verification, updating and invalidation
> ----------------------------------------------------------
>
>                 Key: MESOS-2073
>                 URL: https://issues.apache.org/jira/browse/MESOS-2073
>             Project: Mesos
>          Issue Type: Improvement
>          Components: fetcher, slave
>            Reporter: Bernd Mathiske
>            Assignee: Bernd Mathiske
>            Priority: Minor
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> The other tickets in the fetcher cache epic do not necessitate a check sum (e.g. MD5, SHA*) for files cached by the fetcher. Whereas such a check sum could be used to verify whether the file arrived without unintended alterations, it can first and foremost be employed to detect and trigger updates. 
> Scenario: If a UIR is requested for fetching and the indicated download has the same check sum as the cached file, then the cache file will be used and the download forgone. If the check sum is different, then fetching proceeds and the cached file gets replaced. 
> This capability will be indicated by an additional field in the URI protobuf. Details TBD, i.e. to be discussed in comments below.
> In addition to the above, even if the check sum is the same, we can support voluntary cache file invalidation: a fresh download can be requested, or the caching behavior can be revoked entirely.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)