-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70907/
-----------------------------------------------------------

(Updated June 20, 2019, 11:45 p.m.)


Review request for mesos, Greg Mann and Joseph Wu.


Changes
-------

Address Greg's comments


Summary (updated)
-----------------

Added recovery of agent drain information.


Bugs: MESOS-9822
    https://issues.apache.org/jira/browse/MESOS-9822


Repository: mesos


Description
-------

With this patch the agent will, after executor reregistration finished,
replay any active drain information so remaining tasks are drained as
well. We need to wait until executors had a chance to register so they
are not terminated should we try to send kill task request before the
executor has registered.


Diffs (updated)
-----

  src/slave/slave.cpp 30039b0857a4d85b4b96fa95d7f8724d57cdec6e 
  src/slave/state.hpp 45836e5805a5038c0b3b5563ea995c3fa90ab808 
  src/slave/state.cpp b4bf6292eb482f4e99a27442af0ea03e31c1ddc2 
  src/tests/slave_tests.cpp c2035976713abb31b3646c0d23771fa40df93271 


Diff: https://reviews.apache.org/r/70907/diff/2/

Changes: https://reviews.apache.org/r/70907/diff/1-2/


Testing
-------

`make check`


Thanks,

Benjamin Bannier

Reply via email to