----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58487/#review173369 -----------------------------------------------------------
Patch looks great! Reviews applied: [58485, 58486, 58487] Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh - Mesos Reviewbot On April 28, 2017, 3:42 p.m., Anindya Sinha wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58487/ > ----------------------------------------------------------- > > (Updated April 28, 2017, 3:42 p.m.) > > > Review request for mesos, James Peach and Jiang Yan Xu. > > > Bugs: MESOS-7308 > https://issues.apache.org/jira/browse/MESOS-7308 > > > Repository: mesos > > > Description > ------- > > When shared resources are removed from the `allocations` in the sorter, > we remove the scalar quantity only when the shared resource is actually > removed (i.e. shared count goes down to 0). Similarly, we increase the > scalar quantity only when this is a new shared resource that is being > added to the `allocations`. > > > Diffs > ----- > > src/master/allocator/sorter/drf/sorter.hpp > fee58d6d1f08163e2a06a4a20c891fe535c3dcff > > > Diff: https://reviews.apache.org/r/58487/diff/3/ > > > Testing > ------- > > Tests passed. > > > Thanks, > > Anindya Sinha > >