----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66016/#review198989 -----------------------------------------------------------
Patch looks great! Reviews applied: [66016] Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose --disable-libtool-wrappers' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh - Mesos Reviewbot On March 10, 2018, 12:44 a.m., Meng Zhu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/66016/ > ----------------------------------------------------------- > > (Updated March 10, 2018, 12:44 a.m.) > > > Review request for mesos, Benjamin Mahler, Kapil Arya, Joseph Wu, Michael > Park, and Till Toenshoff. > > > Repository: mesos > > > Description > ------- > > The current allocation logic maintains several states > such as allocated-reservation, unsatisfied-quota and etc. > This patch refactors the logic so that we only need to > maintain a per-quota-role map to track role consumed quota. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.cpp > 5d30d1d4d4bbb5431745f61b5318b39c5c3a7117 > > > Diff: https://reviews.apache.org/r/66016/diff/2/ > > > Testing > ------- > > make check > > > Thanks, > > Meng Zhu > >