> On April 23, 2014, 2:52 p.m., Ben Mahler wrote: > > src/master/registrar.cpp, lines 168-172 > > <https://reviews.apache.org/r/20581/diff/6/?file=566107#file566107line168> > > > > If Gauge is passed the RegistrarProcess, could it not store it and > > provide it's own function for getting the queue size? (Much like what we > > did for Master::Http).
this is complicated - we'd have to get the lock on the registrar process or somehow defer to it anyway. - Dominic ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20581/#review41214 ----------------------------------------------------------- On April 23, 2014, 1:48 p.m., Dominic Hamon wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/20581/ > ----------------------------------------------------------- > > (Updated April 23, 2014, 1:48 p.m.) > > > Review request for mesos and Ben Mahler. > > > Repository: mesos-git > > > Description > ------- > > Added Timers for state store/fetch and a Gauge to track the length of the > operations queue. > > > Diffs > ----- > > src/master/registrar.cpp 38040bdb519c7f0562ddfeb58d2809cffa6f4c18 > > Diff: https://reviews.apache.org/r/20581/diff/ > > > Testing > ------- > > local build + mesos-local.sh + manual inspection. > make check. > > > Thanks, > > Dominic Hamon > >
