----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52722/#review153207 -----------------------------------------------------------
Ship it! Ship It! - Vinod Kone On Oct. 11, 2016, 1:04 a.m., Neil Conway wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/52722/ > ----------------------------------------------------------- > > (Updated Oct. 11, 2016, 1:04 a.m.) > > > Review request for mesos and Vinod Kone. > > > Bugs: MESOS-6332 > https://issues.apache.org/jira/browse/MESOS-6332 > > > Repository: mesos > > > Description > ------- > > When an agent re-registers with a master that already knows about that > agent, the master needs to reconcile its view of the state of the agent > with the agent's current state. For any task that the master thinks > should be on the agent but isn't included in the ReregisterSlaveMessage, > the master does a reconcilation with the agent to find the task's > current state. > > This commit changes adds the `FrameworkInfo` for any possibly missing > tasks to the master -> agent reconciliation message. This is useful > because the agent can consult the `FrameworkInfo` during reconciliation: > this will shortly be used to make agent reconciliation behave > differently for partition-aware frameworks. > > > Diffs > ----- > > src/master/master.cpp ad8993ae43e2508a3777f4062acaca1177ac77f2 > src/messages/messages.proto 7d65be1418864333d0c4213e2e0df0374f9ec115 > > Diff: https://reviews.apache.org/r/52722/diff/ > > > Testing > ------- > > `make check` > > > Thanks, > > Neil Conway > >