> On June 16, 2016, 9:13 p.m., Joseph Wu wrote: > > src/log/log.hpp, line 111 > > <https://reviews.apache.org/r/48801/diff/1/?file=1421641#file1421641line111> > > > > It might make sense for this to be a `Counter`, since the `recovered` > > promise should only ever go from not-ready to ready; not vice-versa.
yeah, but it's slightly more difficult to implement:) - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48801/#review138086 ----------------------------------------------------------- On June 16, 2016, 5:28 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48801/ > ----------------------------------------------------------- > > (Updated June 16, 2016, 5:28 p.m.) > > > Review request for mesos and Benjamin Mahler. > > > Bugs: MESOS-5618 > https://issues.apache.org/jira/browse/MESOS-5618 > > > Repository: mesos > > > Description > ------- > > This is a gauge indicating if the replicated log has recovered or not. > > > Diffs > ----- > > include/mesos/log/log.hpp 9c8634987181b1345005619e6d16d738903c49fc > src/log/log.hpp 6e7577342d1ba93833e3445daf0f1e67ccc21a09 > src/log/log.cpp c0f1cb32a8447f457a4799f7c425a13343292889 > > Diff: https://reviews.apache.org/r/48801/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jie Yu > >