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


Bad patch!

Reviews applied: [29507]

Failed command: ./support/apply-review.sh -n -r 29507

Error:
 2015-05-14 09:15:26 URL:https://reviews.apache.org/r/29507/diff/raw/ 
[33154/33154] -> "29507.patch" [1]
error: patch failed: src/slave/constants.hpp:102
error: src/slave/constants.hpp: patch does not apply
error: patch failed: src/slave/constants.cpp:52
error: src/slave/constants.cpp: patch does not apply
error: patch failed: src/tests/fault_tolerance_tests.cpp:144
error: src/tests/fault_tolerance_tests.cpp: patch does not apply
Failed to apply patch

- Mesos ReviewBot


On May 14, 2015, 8:54 a.m., Adam B wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29507/
> -----------------------------------------------------------
> 
> (Updated May 14, 2015, 8:54 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Niklas Nielsen.
> 
> 
> Bugs: MESOS-2110
>     https://issues.apache.org/jira/browse/MESOS-2110
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added new --slave_ping_timeout and --max_slave_ping_timeouts flags
> to mesos-master to supplement the DEFAULT_SLAVE_PING_TIMEOUT (15secs)
> and DEFAULT_MAX_SLAVE_PING_TIMEOUTS (5).
>    
> These can be extended if slaves are expected/allowed to be down for
> longer than a minute or two.
> 
> Slave will receive master's ping timeout in SlaveRe[re]gisteredMessage.
>   
> Beware that this affects recovery from network timeouts as well as
> actual slave node/process failover.
> 
> 
> Diffs
> -----
> 
>   docs/configuration.md 54c4e31 
>   docs/upgrades.md 2a15694 
>   src/master/constants.hpp c386eab 
>   src/master/constants.cpp 9ee17e9 
>   src/master/flags.hpp 996cf38 
>   src/master/flags.cpp 5798989 
>   src/master/master.cpp ec32cd6 
>   src/messages/messages.proto 98d859f 
>   src/slave/constants.hpp fd1c1ab 
>   src/slave/constants.cpp 2a99b11 
>   src/slave/slave.hpp adb52b5 
>   src/slave/slave.cpp 1b17441 
>   src/tests/fault_tolerance_tests.cpp 3a27d82 
>   src/tests/partition_tests.cpp 1018e47 
>   src/tests/slave_recovery_tests.cpp c036e9c 
>   src/tests/slave_tests.cpp 04e79ec 
> 
> Diff: https://reviews.apache.org/r/29507/diff/
> 
> 
> Testing
> -------
> 
> Manually tested slave failover/shutdown with master using different 
> --slave_ping_timeout and --max_slave_ping_timeouts.
> Ran unit tests with shorter non-default values for ping timeouts.
> `make check` with new unit tests: ShortPingTimeoutUnreachableMaster and 
> ShortPingTimeoutUnreachableSlave
> 
> 
> Thanks,
> 
> Adam B
> 
>

Reply via email to