-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59078/
-----------------------------------------------------------
Review request for mesos and Michael Park.
Bugs: MESOS-7478
https://issues.apache.org/jira/browse/MESOS-7478
Repository: mesos
Description
-------
The agent was accidentally assuming that the task sent by the master
had the `allocation_info` set. The fix is for `getExecutorInfo` to
inject only in the case where it is already set.
Diffs
-----
src/slave/slave.cpp a37c6c888e7573209aadb07576cfb727fa1ec4ff
Diff: https://reviews.apache.org/r/59078/diff/1/
Testing
-------
Manually performed upgrade tests:
1.2.0 agent with 1.1.0 master, crashes as MESOS-7478
HEAD+fix with 1.1.0 master, works
1.2.x+fix with 1.1.0 master, works
1.1.0 master with 1.1.0 agent, then upgrade agent to 1.2.x+fix works
Thanks,
Benjamin Mahler