-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72003/
-----------------------------------------------------------
(Updated Jan. 15, 2020, 4:12 p.m.)
Review request for mesos, Andrei Sekretenko and Benjamin Mahler.
Bugs: MESOS-10084
https://issues.apache.org/jira/browse/MESOS-10084
Repository: mesos
Description
-------
This patch modifies the agent code so it uses
`ExecutorInfo::generated_by_agent` instead of the previous heuristic to
detect agent-generated executors for command tasks. For that we add
recovery logic for upgrade scenarios to inject a correct value for
recovered executors, and set the appropriate value for newly created
executors.
Diffs (updated)
-----
src/slave/slave.hpp 3d191dcbdd58e851ad5e86fbb01a890407409c64
src/slave/slave.cpp 0005971717f5b90da368b45caad8e209ada95fa5
Diff: https://reviews.apache.org/r/72003/diff/2/
Changes: https://reviews.apache.org/r/72003/diff/1-2/
Testing
-------
`make check`
Thanks,
Benjamin Bannier