-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30006/
-----------------------------------------------------------
(Updated Jan. 27, 2015, 4:57 a.m.)
Review request for mesos, Adam B, Benjamin Hindman, and Timothy Chen.
Changes
-------
Now also handling failed downloads to the cache, enabling repeated attempts. On
failure, clearing out the whole batch of URIs and cache files ganged together
in a fetch attempt.
Bugs: MESOS-2057
https://issues.apache.org/jira/browse/MESOS-2057
Repository: mesos-git
Description
-------
Enables reuse of download results in the cache when multiple fetcher runs occur
concurrently. Optimizes for minimal number of fetcher runs, between 0 and 2,
depending on what is in the cache and what can be obtained from concurrent runs
by simply waiting for their already initiated downloads for the same content to
complete.
Diffs (updated)
-----
src/slave/containerizer/fetcher.hpp 1db0eaf002c8d0eaf4e0391858e61e0912b35829
src/slave/containerizer/fetcher.cpp d290f95251def3952c5ee34f600e1d71467f6293
Diff: https://reviews.apache.org/r/30006/diff/
Testing
-------
make check, testing whether legacy direct fetching still works, using existing
tests.
Testing of cache functionality coming in MESOS-2074.
Thanks,
Bernd Mathiske