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

(Updated Feb. 14, 2015, 12:20 p.m.)


Review request for mesos, Niklas Nielsen and Till Toenshoff.


Changes
-------

Updated to show the endpoint where the entry is provided is not `stats.json` 
but `state.json`.


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

Added "max allowed age" to Slave state.json endpoint


Bugs: mesos-2229
    https://issues.apache.org/jira/browse/mesos-2229


Repository: mesos


Description (updated)
-------

Adds and entry `max_allowed_age_secs` to the response of the `state.json` 
endpoint in the slave. 

The max allowed age value is available only if it is set, which depends on the 
flag `--disk_watch_interval` which by default runs every minute (So it will 
only be available after the first minute running).

Modifies the unit test `SlaveTest.StateEndpoint` so it takes into account the 
new entry.


Diffs
-----

  src/slave/http.cpp 0395d00 
  src/slave/slave.hpp 70bd8c1 
  src/slave/slave.cpp a8b2621 
  src/tests/slave_tests.cpp 956ce64 

Diff: https://reviews.apache.org/r/30074/diff/


Testing
-------

make check


Thanks,

Alexander Rojas

Reply via email to