mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Megha Sharma <mshar...@apple.com>
Subject Re: Review Request 60105: Added helper method recoverSlaveState.
Date Thu, 15 Jun 2017 19:31:11 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message