----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60105/ -----------------------------------------------------------
(Updated June 21, 2017, 11:22 p.m.) Review request for mesos, Neil Conway, Vinod Kone, and Jiang Yan Xu. Summary (updated) ----------------- Clean rebooted slave's state if slaveInfo mismatches. Bugs: MESOS-6223 https://issues.apache.org/jira/browse/MESOS-6223 Repository: mesos Description ------- Prior to Mesos 1.4 we bypass the state recovery and start as a new agent upon reboot. Starting in Mesos 1.4 we'll attempt to recover the slave state even after reboot except for when there is a SlaveInfo mismatch. Here, we cleanup the slave state for a rebooted agent if there's been a SlaveInfo mismatch during recovery to ensure that no other state is recovered and the agent enventually registers as a new agent. Diffs (updated) ----- src/slave/slave.cpp f808458849bb9667a91abe18868751d377d36e0c Diff: https://reviews.apache.org/r/60105/diff/5/ Changes: https://reviews.apache.org/r/60105/diff/4-5/ Testing (updated) ------- Latest make check results pending. Thanks, Megha Sharma