----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41337/#review110193 -----------------------------------------------------------
src/slave/slave.cpp (line 1497) <https://reviews.apache.org/r/41337/#comment169982> For this one, I'm thinking your working on MESOS-3891, right? And I don't think get total/used resources by REST API is a good way :). - Klaus Ma On Dec. 14, 2015, 5:25 p.m., Guangya Liu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/41337/ > ----------------------------------------------------------- > > (Updated Dec. 14, 2015, 5:25 p.m.) > > > Review request for mesos, Artem Harutyunyan, Joris Van Remoortere, Joseph Wu, > and Klaus Ma. > > > Bugs: MESOS-4148 > https://issues.apache.org/jira/browse/MESOS-4148 > > > Repository: mesos > > > Description > ------- > > Set task as TASK_LOST if not enough allocation slack resources. > > > Diffs > ----- > > src/slave/slave.cpp 9bd86e122c070cd072a54d4de8097f844bd95bb0 > > Diff: https://reviews.apache.org/r/41337/diff/ > > > Testing > ------- > > make > make check > > > Thanks, > > Guangya Liu > >