> On Aug. 14, 2018, 7:30 a.m., Qian Zhang wrote: > > Ship It! > > Qian Zhang wrote: > BTW, what about the other files (i.e., hosts, hostname and resolv.conf) > that CNI isolator persists in the container dir? Should we change from > `os::write()` to `state::checkpoint()` for them too?
Those are not needed because it won't be used after recovery. Those are only used during launching. - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68334/#review207216 ----------------------------------------------------------- On Aug. 13, 2018, 11:04 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/68334/ > ----------------------------------------------------------- > > (Updated Aug. 13, 2018, 11:04 p.m.) > > > Review request for mesos, Deepak Goel, Qian Zhang, and Sergey Urbanovich. > > > Bugs: MESOS-9142 > https://issues.apache.org/jira/browse/MESOS-9142 > > > Repository: mesos > > > Description > ------- > > This is to ensure all or nothing semantics. We don't want to deal with a > particially written file in case agent crashes. > > > Diffs > ----- > > src/slave/containerizer/mesos/isolators/network/cni/cni.cpp > f46c962d8f044092aaa113fafc536c6b25bab45c > > > Diff: https://reviews.apache.org/r/68334/diff/3/ > > > Testing > ------- > > sudo make check > > > Thanks, > > Jie Yu > >
