> On Dec. 8, 2017, 6:15 a.m., Jie Yu wrote: > > src/master/master.cpp > > Line 7193 (original), 7193 (patched) > > <https://reviews.apache.org/r/64430/diff/1/?file=1910897#file1910897line7193> > > > > Do we still need this?
I removed this as part of https://reviews.apache.org/r/64424. > On Dec. 8, 2017, 6:15 a.m., Jie Yu wrote: > > src/master/master.cpp > > Line 7274 (original), 7281 (patched) > > <https://reviews.apache.org/r/64430/diff/1/?file=1910897#file1910897line7281> > > > > This needs to be adjusted? `slave->offerOperations` has all the > > operations from all providers as well as agent default resources, while > > message.offer_operations is only for agent default resources? Good catch, I fixed this as part of https://reviews.apache.org/r/64423 by removing this variable initialization and unconditionally calculating the lists of operations. - Benjamin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64430/#review193216 ----------------------------------------------------------- On Dec. 8, 2017, 12:32 p.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/64430/ > ----------------------------------------------------------- > > (Updated Dec. 8, 2017, 12:32 p.m.) > > > Review request for mesos, Jie Yu and Jan Schlicht. > > > Bugs: MESOS-8312 > https://issues.apache.org/jira/browse/MESOS-8312 > > > Repository: mesos > > > Description > ------- > > Since we have moved all resource provider-related information like > e.g., resource versions to an explicit field in 'UpdateSlaveMessage', > we now only pass agent information in top-level fields. > > To model that we changed the top-level resource versions there from a > repeated field to a single optional field. This will allow us to in > the future pass agent information in the resource provider data > structure as well. > > > Diffs > ----- > > src/master/master.cpp 5cba50636a9351d29660c54fad7734fcfea547b9 > src/messages/messages.proto f71178438660fa16aad8f290391baba7813fbff0 > src/slave/slave.cpp 54d8bcc035227dd6896ffa6e692a91749c0b56a6 > src/tests/slave_tests.cpp 07145432c35c85a755b66ba575c2a46db072ce5c > > > Diff: https://reviews.apache.org/r/64430/diff/2/ > > > Testing > ------- > > `make check` > > > Thanks, > > Benjamin Bannier > >
