----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46923/#review132003 -----------------------------------------------------------
Fix it, then Ship it! src/master/master.cpp (line 1386) <https://reviews.apache.org/r/46923/#comment196039> I think we should add a comment that says we can safely assume that the `failover_timeout` is valid because we registration with an invalid `failover_timeout` is refused. Otherwise, LGTM! - Neil Conway On May 6, 2016, 3:18 a.m., Jose Guilherme Vanz wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46923/ > ----------------------------------------------------------- > > (Updated May 6, 2016, 3:18 a.m.) > > > Review request for mesos, Guangya Liu, Kevin Sweeney, Neil Conway, and Vinod > Kone. > > > Bugs: MESOS-1575 > https://issues.apache.org/jira/browse/MESOS-1575 > > > Repository: mesos > > > Description > ------- > > Frameworks were allowed to subscribe themselves with invalid failover > timeout. For this reason, a validation has been made in the master to > deny framework subscription if it set a invalid value for the failover > timeout. MESOS-1575 > > > Diffs > ----- > > src/master/master.hpp 3e55114ee7866e06513071e86e15608099dae052 > src/master/master.cpp 6d3e0f7c634690a35eec1ce827b705e04c3af87e > src/tests/master_tests.cpp 8e00753fcbcd0cae1d08aad387b08aa17c7f63ad > > Diff: https://reviews.apache.org/r/46923/diff/ > > > Testing > ------- > > > Thanks, > > Jose Guilherme Vanz > >