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 9a6b3cb  Updated test `AgentRegisteredWithNewId` for better code 
coverage.
     new fbfe193  Simplified quota chopping logic in the allocator.
     new a5af016  Used `ResourceQuantities` in `__allocate()` when appropriate.
     new ef26c53  Used `ResourceQuantities` in the sorter when appropriate.
     new 1acb38c  Removed unused function `Resources::isScalarQuantity`.

The 4 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/resources.hpp                   |   5 -
 include/mesos/v1/resources.hpp                |   5 -
 src/common/resources.cpp                      |  11 --
 src/master/allocator/mesos/hierarchical.cpp   | 215 +++++++++++---------------
 src/master/allocator/mesos/hierarchical.hpp   |  12 +-
 src/master/allocator/sorter/drf/sorter.cpp    |  27 ++--
 src/master/allocator/sorter/drf/sorter.hpp    |  84 ++++------
 src/master/allocator/sorter/random/sorter.cpp |  27 ++--
 src/master/allocator/sorter/random/sorter.hpp |  84 ++++------
 src/master/allocator/sorter/sorter.hpp        |  11 +-
 src/tests/resources_tests.cpp                 |  31 ----
 src/tests/sorter_tests.cpp                    |  10 +-
 src/v1/resources.cpp                          |  11 --
 13 files changed, 184 insertions(+), 349 deletions(-)

Reply via email to