mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastón Kleiman <gas...@mesosphere.com>
Subject Re: Review Request 52357: Improved handling of health check failures within the grace period.
Date Tue, 04 Oct 2016 13:18:20 GMT

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

(Updated Oct. 4, 2016, 1:18 p.m.)


Review request for mesos, Alexander Rukletsov and haosdent huang.


Changes
-------

Use a static name for the tmp file created by the new test in the suite's temporary directory.


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


Repository: mesos


Description
-------

The health check library would ignore all failures until after the end
of the grace period.

This behaviour was misleading. With the changes in this commit, once a
health check succeeds for the first time, the grace period rule for
failures is not be applied any more.


Diffs (updated)
-----

  src/health-check/health_checker.cpp ea93132f2a5d4828c75005f102eddc4c3131599d 
  src/tests/health_check_tests.cpp f4a63e2f5def022bf4469920861e6a5af229af96 

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


Testing
-------

Manual tests using Marathon.
Added a new unit test and verified that it fails without the change, but succeeds with it.


Thanks,

Gastón Kleiman


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message