----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51707/ -----------------------------------------------------------
(Updated Sept. 13, 2016, 1:25 p.m.) Review request for mesos and Vinod Kone. Changes ------- Address review comments. Bugs: MESOS-5965 https://issues.apache.org/jira/browse/MESOS-5965 Repository: mesos Description ------- Now that we update the registry before updating the master's state when performing these transitions, it is possible for the master to already be marking a slave unreachable when an `UnregisterSlaveMessage` is received, or vice versa. Detect these situations and ignore whichever transition is triggered second. Diffs (updated) ----- src/master/master.cpp 1dcce6cd66804990af238176c61aca03bb5c9471 src/tests/slave_tests.cpp 2f3fa5fae634b6250f3c00bbef3077493f79af95 Diff: https://reviews.apache.org/r/51707/diff/ Testing ------- make check Thanks, Neil Conway