> On Sept. 28, 2016, 9:33 p.m., Guangya Liu wrote: > > src/master/allocator/mesos/hierarchical.hpp, line 224 > > <https://reviews.apache.org/r/51027/diff/8/?file=1513681#file1513681line224> > > > > ``` > > // If no run is queued we only update `allocationCandidates` > > ``` > > > > I think here should be > > > > ``` > > We only update the `allocationCandidates` if there are pending > > allocation run. > > ```
Changed to: // If a run is queued, we only update `allocationCandidates`. - Jacob ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51027/#review150760 ----------------------------------------------------------- On Sept. 28, 2016, 8:21 p.m., Jacob Janco wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51027/ > ----------------------------------------------------------- > > (Updated Sept. 28, 2016, 8:21 p.m.) > > > Review request for mesos, Benjamin Mahler, Guangya Liu, James Peach, Klaus > Ma, and Jiang Yan Xu. > > > Bugs: MESOS-3157 > https://issues.apache.org/jira/browse/MESOS-3157 > > > Repository: mesos > > > Description > ------- > > - Triggered allocations dispatch allocate() only > if there is no pending allocation in the queue. > - Allocation candidates are accumulated and only > cleared when enqueued allocations are processed. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.hpp > 2c31471ee0f5d6836393bf87ff9ecfd8df835013 > src/master/allocator/mesos/hierarchical.cpp > 3f51f4194c1ba7c1e4f08c3dd623281ca5754d39 > > Diff: https://reviews.apache.org/r/51027/diff/ > > > Testing > ------- > > make check > > note: check without filters depends on https://reviews.apache.org/r/51028 > note: SmallOfferFilter fix pending review -> will list Jira here > > > Thanks, > > Jacob Janco > >
