-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60105/
-----------------------------------------------------------
(Updated June 15, 2017, 7:31 p.m.)
Review request for mesos, Neil Conway, Vinod Kone, and Jiang Yan Xu.
Bugs: MESOS-6223
https://issues.apache.org/jira/browse/MESOS-6223
Repository: mesos
Description
-------
Here, a helper method recoverSlaveState is added to
determine if the slave state is to be recovered or not.
During agent recovery, if the SlaveInfo compatibility
check fails and the agent is rebooted then to be
backwards compatible with MESOS <= 1.3, since a
a rebooted agent didn't recover state, we clear
slave state and slaveId so the agent registers with the
master as a new agent.
Diffs (updated)
-----
src/slave/slave.hpp 7ffaed14035a05259ec72c70532ee4f0affa1f5d
src/slave/slave.cpp 7d147ac6609933ac884bfc29032dba572a0952c6
Diff: https://reviews.apache.org/r/60105/diff/3/
Changes: https://reviews.apache.org/r/60105/diff/2-3/
Testing
-------
Thanks,
Megha Sharma