This is an automated email from the ASF dual-hosted git repository.
josephwu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.
from 633b1b5 Renamed agent flag `--default_shm_size`.
new 7f89fcc Added a registry operation for the DRAIN_AGENT call.
new 6d4a370 Modified registry operations for unreachable draining agents.
new fb65475 Added registry operation for marking an agent as drained.
new d8e07f5 Added registry operations for DE/RE-ACTIVATE_AGENT calls.
new 3066c88 Implemented master endpoints for agent draining.
new 3348b5c Implemented transition from DRAINING to DRAINED in master.
new 50ee946 Added best-effort validation for DRAIN_AGENT master call.
new a805d27 Added drain and deactivation info to master API output.
new f81427b Added end-to-end tests for agent draining.
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/mesos/master/master.proto | 3 +
include/mesos/v1/master/master.proto | 3 +
include/mesos/v1/mesos.hpp | 1 +
src/common/protobuf_utils.cpp | 16 +-
src/common/protobuf_utils.hpp | 6 +-
src/master/http.cpp | 171 +++++++++++-
src/master/master.cpp | 151 ++++++++++-
src/master/master.hpp | 33 ++-
src/master/readonly_handler.cpp | 35 ++-
src/master/registry.proto | 14 +
src/master/registry_operations.cpp | 281 +++++++++++++++++++-
src/master/registry_operations.hpp | 65 +++++
src/tests/api_tests.cpp | 336 +++++++++++++++++++++++
src/tests/registrar_tests.cpp | 500 +++++++++++++++++++++++++++++++++++
src/v1/mesos.cpp | 6 +
15 files changed, 1595 insertions(+), 26 deletions(-)