mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Conway <>
Subject Re: Review Request 51707: Fixed races between "unreachable" and "unregister" slave transitions.
Date Thu, 08 Sep 2016 15:49:13 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 8, 2016, 3:49 p.m.)

Review request for mesos and Vinod Kone.


Simplify tests, tweak comments.

Bugs: MESOS-5965

Repository: mesos


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 701fab20091f9f7df020290b9f0a9db1dec92647 



make check


Neil Conway

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