-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70957/
-----------------------------------------------------------
Review request for mesos, Benjamin Bannier, Benjamin Mahler, Greg Mann, and
Vinod Kone.
Bugs: MESOS-9814
https://issues.apache.org/jira/browse/MESOS-9814
Repository: mesos
Description
-------
This adds an operation purely for transitioning an agent from the
DRAINING state to the DRAINED state. The master is expected to
validate that the targetted agent is DRAINING, otherwise, the
write will fail (which results in the master aborting).
Diffs
-----
src/master/registry_operations.hpp 5a3010d46c4eddb0d660eb7368ec836903477a9b
src/master/registry_operations.cpp c417c4d6c4272eeab15f5313ca5160d4a0aa4da4
src/tests/registrar_tests.cpp 81979d78f1348791e28f1afea4ca2999de6362b8
Diff: https://reviews.apache.org/r/70957/diff/1/
Testing
-------
make check
Thanks,
Joseph Wu