-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70959/
-----------------------------------------------------------
(Updated June 27, 2019, 5:24 p.m.)
Review request for mesos, Greg Mann and Joseph Wu.
Changes
-------
Include pending operations when checking whether draining is done
Bugs: MESOS-9860
https://issues.apache.org/jira/browse/MESOS-9860
Repository: mesos
Description
-------
Once a draining agent has neither frameworks with pending tasks nor any
executors with either queued or launched tasks it has finished draining.
This patch adds handling of that case which clears both the in-memory
and persisted drain configuration.
Diffs (updated)
-----
src/slave/slave.hpp 6954f53ff1531b9fcb688ef76acddf6a3d849a41
src/slave/slave.cpp 30039b0857a4d85b4b96fa95d7f8724d57cdec6e
Diff: https://reviews.apache.org/r/70959/diff/2/
Changes: https://reviews.apache.org/r/70959/diff/1-2/
Testing
-------
`make check`
tested as part of https://reviews.apache.org/r/70960/
Thanks,
Benjamin Bannier