Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21B5A18DD3 for ; Thu, 25 Jun 2015 22:27:05 +0000 (UTC) Received: (qmail 6396 invoked by uid 500); 25 Jun 2015 22:27:05 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 6274 invoked by uid 500); 25 Jun 2015 22:27:04 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 6226 invoked by uid 99); 25 Jun 2015 22:27:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 22:27:04 +0000 Date: Thu, 25 Jun 2015 22:27:04 +0000 (UTC) From: "Adam B (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-2073) Fetcher cache file verification, updating and invalidation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602066#comment-14602066 ] Adam B commented on MESOS-2073: ------------------------------- Deferring to 0.24 since I don't see any reviews or recent progress, and this is low priority. Fetcher cache will ship in 0.23 without this feature. > 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 > Labels: mesosphere > 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)