You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2019/04/25 23:20:40 UTC
[mesos] branch 1.7.x updated (0f4e34b -> 55ae37e)
This is an automated email from the ASF dual-hosted git repository.
grag pushed a change to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git.
from 0f4e34b Added MESOS-9704 to 1.7.3 CHANGELOG.
new 206e440 Added method `fromScalarResources` in `ResourceQuantities`.
new a0eb394 Added `>`, `<` and `>=` operators to `Value::Scalar`.
new 6aec558 Refactored and augmented `class ResourceQuantities`.
new 000aa6e Added `==` and `!=` operator in `ResourceQuantities`.
new 975066a Enabled construction of `ResourceQuantities` from `Resources`.
new 55ae37e Ensured that task groups do not specify overlapping ranges or sets.
The 16120 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/v1/values.hpp | 3 +
include/mesos/values.hpp | 3 +
src/common/resource_quantities.cpp | 163 ++++++++++++++++++++++++--
src/common/resource_quantities.hpp | 67 ++++++-----
src/common/values.cpp | 18 +++
src/master/allocator/sorter/drf/sorter.cpp | 15 +--
src/master/allocator/sorter/drf/sorter.hpp | 17 +--
src/master/allocator/sorter/random/sorter.cpp | 11 +-
src/master/allocator/sorter/random/sorter.hpp | 17 +--
src/master/validation.cpp | 43 +++++++
src/master/validation.hpp | 5 +
src/tests/resource_quantities_tests.cpp | 42 ++++---
src/v1/values.cpp | 18 +++
13 files changed, 320 insertions(+), 102 deletions(-)