This is an automated email from the ASF dual-hosted git repository. asekretenko pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git.
from b07e6bb Removed `evolve(const scheduler::Call&)`. new 7ec5357 Added protobuf messages for constraints-based offer filtering. new 73831ec Introduced a `FrameworkOptions` struct into the allocator interface. new f54d498 Implemented offer constraints filter with Exists/NotExists predicates. new f0af708 Added basic tests for the `OfferConstraintsFilter`. new e73306e Wired up the `OfferConstraintsFilter` into the hierarchical allocator. new 04599f9 Wired up creating `OfferConstraintsFilter` into the schdeuler API. new f284314 Added a scheduler API test for a valid offer constraints update. 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: docs/attributes-resources.md | 4 + include/mesos/allocator/allocator.hpp | 73 ++++- include/mesos/scheduler/scheduler.proto | 125 +++++++ include/mesos/v1/scheduler/scheduler.proto | 125 +++++++ src/CMakeLists.txt | 1 + src/Makefile.am | 2 + src/internal/devolve.cpp | 4 + src/master/allocator/mesos/allocator.hpp | 16 +- src/master/allocator/mesos/hierarchical.cpp | 74 +++-- src/master/allocator/mesos/hierarchical.hpp | 10 +- .../allocator/mesos/offer_constraints_filter.cpp | 360 +++++++++++++++++++++ src/master/master.cpp | 137 +++++--- src/master/master.hpp | 17 +- src/tests/CMakeLists.txt | 1 + src/tests/allocator.hpp | 44 ++- .../master/offer_constraints_filter_tests.cpp | 265 +++++++++++++++ src/tests/master/update_framework_tests.cpp | 107 +++++- src/tests/master_allocator_tests.cpp | 44 +-- src/tests/reservation_tests.cpp | 4 +- src/tests/resource_offers_tests.cpp | 2 +- src/tests/slave_recovery_tests.cpp | 2 +- 21 files changed, 1286 insertions(+), 131 deletions(-) create mode 100644 src/master/allocator/mesos/offer_constraints_filter.cpp create mode 100644 src/tests/master/offer_constraints_filter_tests.cpp