> On May 21, 2014, 8:07 p.m., Jiang Yan Xu wrote: > > src/zookeeper/zookeeper.cpp, lines 77-79 > > <https://reviews.apache.org/r/21783/diff/1/?file=586740#file586740line77> > > > > No big deal but why not Timeout::in(timeout) and Timeout::expired()?
Sounds good! - Ben ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21783/#review43649 ----------------------------------------------------------- On May 21, 2014, 6:52 p.m., Ben Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/21783/ > ----------------------------------------------------------- > > (Updated May 21, 2014, 6:52 p.m.) > > > Review request for mesos, Vinod Kone and Jiang Yan Xu. > > > Bugs: MESOS-1326 > https://issues.apache.org/jira/browse/MESOS-1326 > > > Repository: mesos-git > > > Description > ------- > > Often during temporary DNS failovers or outages, we see slaves aborting in > zookeeper_init. > > In many cases, the slave can restart within 10 seconds. Since retrying > zookeeper_init should be safe to do, this is an attempt to minimize the > number of unnecessary aborts in the slave. > > > Diffs > ----- > > src/zookeeper/zookeeper.cpp 11029be89bd184dbefe103c84239c1c6b03e3e10 > > Diff: https://reviews.apache.org/r/21783/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Ben Mahler > >
