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 7a37859  Improved wording in comments for `AgentAdded` event.
     new 071bd9e  Disallowed nan, inf and so on when parsing Value::Scalar.
     new 1601d83  Pulled up the resource quantities class for more general use.
     new cc0a231  Added tests for `ResourceQuantities`.
     new 983cd42  Added a `Resources` method `contains(ResourceQuantities)`.
     new 386b1fe  Extended `min_allocatable_resources` flag to cover non-scalar 
resources.

The 5 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:
 docs/configuration/master.md                    |  22 +--
 include/mesos/allocator/allocator.hpp           |   5 +-
 include/mesos/resources.hpp                     |  11 ++
 include/mesos/v1/resources.hpp                  |  11 ++
 src/CMakeLists.txt                              |   1 +
 src/Makefile.am                                 |   3 +
 src/common/resource_quantities.cpp              | 138 +++++++++++++++++++
 src/common/resource_quantities.hpp              | 127 ++++++++++++++++++
 src/common/resources.cpp                        |  44 ++++++
 src/common/values.cpp                           |  15 +++
 src/master/allocator/mesos/hierarchical.cpp     |   6 +-
 src/master/allocator/sorter/drf/sorter.cpp      |  14 +-
 src/master/allocator/sorter/drf/sorter.hpp      |   6 +-
 src/master/allocator/sorter/random/sorter.hpp   |   6 +-
 src/master/allocator/sorter/sorter.hpp          |  82 ------------
 src/master/flags.cpp                            |  22 +--
 src/master/master.cpp                           |  58 ++++----
 src/tests/CMakeLists.txt                        |   1 +
 src/tests/hierarchical_allocator_benchmarks.cpp |  13 +-
 src/tests/hierarchical_allocator_tests.cpp      |  13 +-
 src/tests/master_allocator_tests.cpp            |  19 +--
 src/tests/resource_quantities_tests.cpp         | 171 ++++++++++++++++++++++++
 src/tests/resources_tests.cpp                   |  96 +++++++++++++
 src/tests/values_tests.cpp                      |   9 ++
 src/v1/resources.cpp                            |  44 ++++++
 src/v1/values.cpp                               |  15 +++
 26 files changed, 790 insertions(+), 162 deletions(-)
 create mode 100644 src/common/resource_quantities.cpp
 create mode 100644 src/common/resource_quantities.hpp
 create mode 100644 src/tests/resource_quantities_tests.cpp

Reply via email to