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 2030964 Replaced a set of single '*' role in SCRIPT_TEST ACL with ANY.
new f05f061 Added a wrapper struct for quota guarantees and limits.
new 7579844 Refactored quota overcommit check.
new 495162e Refactored allocator with the new quota wrapper struct.
new 4bdbd8e Added `Metrics::updateQuota` for quota metrics.
new 4703b23 Added `updateQuota` method to the allocator.
new ceb1120 Used the new quota struct for the allocator recover call.
The 6 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 ++++-
include/mesos/quota/quota.hpp | 23 ++++++
src/master/allocator/mesos/allocator.hpp | 27 +++++-
src/master/allocator/mesos/hierarchical.cpp | 71 ++++++++--------
src/master/allocator/mesos/hierarchical.hpp | 25 ++----
src/master/allocator/mesos/metrics.cpp | 59 ++++++++++++++
src/master/allocator/mesos/metrics.hpp | 3 +
src/master/constants.hpp | 4 +
src/master/master.cpp | 8 +-
src/master/quota.cpp | 50 ++++++++++++
src/master/quota_handler.cpp | 106 ++++++++++++------------
src/tests/allocator.hpp | 17 +++-
src/tests/master_quota_tests.cpp | 122 ++++++++++++++--------------
13 files changed, 363 insertions(+), 172 deletions(-)