----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42194/#review114429 -----------------------------------------------------------
If there is no much different with `updateAllocation`, I'd suggest to merge this patch with `updateAllocation`. - Klaus Ma On Jan. 13, 2016, 9:10 p.m., Guangya Liu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42194/ > ----------------------------------------------------------- > > (Updated Jan. 13, 2016, 9:10 p.m.) > > > Review request for mesos, Ben Mahler, Artem Harutyunyan, Joris Van > Remoortere, Joseph Wu, Klaus Ma, and Jian Qiu. > > > Bugs: MESOS-4145 > https://issues.apache.org/jira/browse/MESOS-4145 > > > Repository: mesos > > > Description > ------- > > Handle unreserve logic for dynamic reservation with allocation slack. > > This patch is halding the case when using updateAvailable to unreserve > some resources. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.cpp > d541bfa3f4190865c65d35c9d1ffdb8a3f194056 > src/tests/hierarchical_allocator_tests.cpp > e044f832c2c16e53e663c6ced5452649bb0dcb59 > > Diff: https://reviews.apache.org/r/42194/diff/ > > > Testing > ------- > > make > make check > > > Thanks, > > Guangya Liu > >