----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30006/#review69604 -----------------------------------------------------------
src/slave/containerizer/fetcher.cpp <https://reviews.apache.org/r/30006/#comment114302> There is a way to handle this case properly and I am going to implement it shortly. This will add 100 lines of code or so. This will be a patch update for this review request. - Bernd Mathiske On Jan. 25, 2015, 5:36 a.m., Bernd Mathiske wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30006/ > ----------------------------------------------------------- > > (Updated Jan. 25, 2015, 5:36 a.m.) > > > Review request for mesos, Adam B, Benjamin Hindman, and Timothy Chen. > > > 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 > ----- > > src/launcher/fetcher.cpp fed0105946da579a38357a30e7ae56e646e05b89 > 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 > >
