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

Review request for mesos, Benjamin Mahler, Jie Yu, and Vinod Kone.


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


Repository: mesos


Description
-------

This patch calls `Slave::checkDiskUsage` after `Slave::recoverFramework`
so terminated containers are scheduled for GC, and before checkpointing
anything so there would be enough disk for checkpointing.

To avoid introducing a one-time disk monitoring function,
`Slave::checkDiskUsage` no longer contains a delayed recursion. Instead,
we use `process::loop` to monitor disk ugase periodically.


Diffs
-----

  src/slave/slave.cpp 6d1516a5d5b5db684f79385e60d892ff75fd00fd 


Diff: https://reviews.apache.org/r/62336/diff/1/


Testing
-------

sudo make check


Thanks,

Chun-Hung Hsiao

Reply via email to