You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Chun-Hung Hsiao <ch...@mesosphere.io> on 2017/09/06 23:29:21 UTC

Review Request 62140: Trigger the first disk-usage GC during recovery.

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

Review request for mesos, Benjamin Mahler, Gilbert Song, and Jie Yu.


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


Repository: mesos


Description
-------

Currently the first dick-usage GC is triggered after duration
`disk_watch_interval` is passed, which is too late if the disk is
already full during agent recovery. This patch kicks in GC early
enough so the agent will be able to recover after a
"No space left on disk" failure.


Diffs
-----

  src/slave/flags.cpp 490f78e997dc4013d42674b2448ce280d82c163a 
  src/slave/slave.cpp df920ec07cd59c7ba6baccfc1c20ed3809f187d6 


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


Testing
-------

make test


Thanks,

Chun-Hung Hsiao