> On Nov. 18, 2017, 1:54 a.m., Jie Yu wrote: > > src/slave/slave.cpp > > Lines 6800 (patched) > > <https://reviews.apache.org/r/63731/diff/3/?file=1896905#file1896905line6805> > > > > I feel we should also call `updateOfferOpreation` here with a terminal > > state (OFFER_OPERATION_DROPPED). > > > > In the future, we should send a Reconcile RP API Event to the RP and > > ask RP's status update manager to reliably generate status udpate (DROPPED)
Let's definitely do that here and in the master, but in a separate patch to control the amount of dependencies going into this chain. - Benjamin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63731/#review191425 ----------------------------------------------------------- On Nov. 21, 2017, 10:08 p.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63731/ > ----------------------------------------------------------- > > (Updated Nov. 21, 2017, 10:08 p.m.) > > > Review request for mesos, Greg Mann, Jie Yu, and Jan Schlicht. > > > Bugs: MESOS-8207 > https://issues.apache.org/jira/browse/MESOS-8207 > > > Repository: mesos > > > Description > ------- > > When resource providers update their state they send a list of > pending or unacknowledged operations to the agent. This patch add > tracking for such operations to the agent. The agent can then forward > these operations to the master, e.g., for calculating the unused > resources behind an agent. > > We track an operation until we either receive a updated list of > pending or unacknowledged operations from a resource provider, or > until we see an acknowledgement from a framework. This keeps the list > of operations bounded and ensures that we maintain the latest > information in the agent. > > > Diffs > ----- > > src/slave/slave.cpp 6e9adc60f593faf1b0e56caeea04882f67af7080 > > > Diff: https://reviews.apache.org/r/63731/diff/4/ > > > Testing > ------- > > `make check`, tested as part of https://reviews.apache.org/r/63843/. > > > Thanks, > > Benjamin Bannier > >
