-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70924/
-----------------------------------------------------------
(Updated June 26, 2019, 1:46 p.m.)
Review request for mesos, Benjamin Bannier, Benjamin Mahler, Greg Mann, and
Vinod Kone.
Changes
-------
Rebased on newer protos and some changes to commits earlier.
Bugs: MESOS-9814
https://issues.apache.org/jira/browse/MESOS-9814
Repository: mesos
Description
-------
This adds the associated registry operation and fields for the
DEACTIVATE_AGENT and REACTIVATE_AGENT master calls.
Like the DRAIN_AGENT call, the deactivation state also persists when
agents become unreachable/reachable, which is already handled by the
DRAIN_AGENT operation implementation.
Likewise, this feature is not downgrade compatible, and a minimum
capability is added when the deactivation feature is used.
If all draining or deactivated agents are reactivated, the minimum
capability is removed.
Diffs (updated)
-----
src/master/registry_operations.hpp 5a3010d46c4eddb0d660eb7368ec836903477a9b
src/master/registry_operations.cpp c417c4d6c4272eeab15f5313ca5160d4a0aa4da4
src/tests/registrar_tests.cpp 81979d78f1348791e28f1afea4ca2999de6362b8
Diff: https://reviews.apache.org/r/70924/diff/2/
Changes: https://reviews.apache.org/r/70924/diff/1-2/
Testing
-------
make check
Thanks,
Joseph Wu