This is an automated email from the ASF dual-hosted git repository.
mzhu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.
from 7207556 Added MESOS-9889 to the 1.6.3 CHANGELOG.
new d8b53ed Added `isAllocated` flag to the
`Allocator::recoverResources()` method.
new 4b34a90 Added method to notify allocator that offered transitioned to
allocated.
new 83e2621 Track per-role and per-agent allocated resources in the
allocator.
new 6d77d77 Replaced removal+adding of quota metrics with updating them.
new 442acc7 Added quota consumption metrics to the hierarchial allocator.
new 486646a Added tests of metrics for tracking quota consumption.
new 0166d4b Introduced a role tree helper to modify a role and all its
ancestors.
The 7 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/allocator/allocator.hpp | 20 +-
src/Makefile.am | 1 +
src/master/allocator/mesos/allocator.hpp | 30 +-
src/master/allocator/mesos/hierarchical.cpp | 110 +++++--
src/master/allocator/mesos/hierarchical.hpp | 45 ++-
src/master/allocator/mesos/metrics.cpp | 114 +++----
src/master/allocator/mesos/metrics.hpp | 28 ++
src/master/master.cpp | 64 +++-
src/tests/CMakeLists.txt | 1 +
src/tests/allocator.hpp | 28 +-
src/tests/consumption_metrics_tests.cpp | 414 ++++++++++++++++++++++++
src/tests/hierarchical_allocator_benchmarks.cpp | 3 +-
src/tests/hierarchical_allocator_tests.cpp | 145 +++++----
src/tests/master_allocator_tests.cpp | 49 +--
src/tests/slave_recovery_tests.cpp | 4 +-
15 files changed, 858 insertions(+), 198 deletions(-)
create mode 100644 src/tests/consumption_metrics_tests.cpp