[
https://issues.apache.org/jira/browse/MESOS-10171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183987#comment-17183987
]
Andrei Sekretenko commented on MESOS-10171:
-------------------------------------------
{noformat}
commit b07e6bb0dc6c14ac229e34874461b25755404e8d
Author: Andrei Sekretenko <[email protected]>
Date: Wed Aug 12 15:27:33 2020 +0200
Removed `evolve(const scheduler::Call&)`.
This patch removes a non-trivial `evolve()` overload that is not used
anywhere in Mesos code and is not covered by tests.
Review: https://reviews.apache.org/r/72771
commit 7ec5357b379ea09a138f931a39fc5302fda2fd4d
Author: Andrei Sekretenko <[email protected]>
Date: Thu Jul 16 15:48:03 2020 +0200
Added protobuf messages for constraints-based offer filtering.
This patch adds framework's offer constraints into `Subscribe` and
`UpdateFramework` calls, which is a prerequisite to implementing
constraints-based offer filtering (see MESOS-10161).
Review: https://reviews.apache.org/r/72738
commit 73831ecd9d28a9a33077716f8643ae4ebae5fa6c
Author: Andrei Sekretenko <[email protected]>
Date: Thu Jul 16 20:45:43 2020 +0200
Introduced a `FrameworkOptions` struct into the allocator interface.
This patch supersedes the `suppressedRoles` parameter of the
`addFramework()`/`updateFramework()` allocator methods with a more
general `FrameworkOptions` struct that will allow to add more
allocation options that are of no interest to agents (and thus are
not included into the `FrameworkInfo` protobuf).
Review: https://reviews.apache.org/r/72739
commit f54d498a2d5dd716131769561cd790b416579e8e
Author: Andrei Sekretenko <[email protected]>
Date: Thu Jul 16 20:45:43 2020 +0200
Implemented offer constraints filter with Exists/NotExists predicates.
This patch implements an offer filtering object that supports the
Exists/NotExists offer constraints, and adds it into the allocator
interface.
More constraints will be added to this filter in further patches.
Review: https://reviews.apache.org/r/72741
commit f0af7082f8bd1586c7f5de9eaa3a8ef83060d632
Author: Andrei Sekretenko <[email protected]>
Date: Mon Aug 3 17:16:11 2020 +0200
Added basic tests for the `OfferConstraintsFilter`.
Review: https://reviews.apache.org/r/72742
commit e73306e3e9a6759e1fc17e1aefc9ae17b4848f2b
Author: Andrei Sekretenko <[email protected]>
Date: Thu Jul 16 20:45:43 2020 +0200
Wired up the `OfferConstraintsFilter` into the hierarchical allocator.
Review: https://reviews.apache.org/r/72774
commit 04599f9a6fc69617bf8810328d7ed6fa26310660
Author: Andrei Sekretenko <[email protected]>
Date: Fri Jul 31 15:39:37 2020 +0200
Wired up creating `OfferConstraintsFilter` into the schdeuler API.
This patch makes SUBSCRIBE/UPDATE_FRAMEWORK calls actually construct
the offer constraints filter from the `offer_constraints` field and
pass it into the allocator.
Review: https://reviews.apache.org/r/72743
commit f284314ba053ad4efaf964ec8fb0426f3784a1b5
Author: Andrei Sekretenko <[email protected]>
Date: Mon Aug 3 17:16:11 2020 +0200
Added a scheduler API test for a valid offer constraints update.
Review: https://reviews.apache.org/r/72744
{noformat}
> Groundwork for constraints-based filtering using `Exists/NotExists` attribute
> constraint as an example.
> -------------------------------------------------------------------------------------------------------
>
> Key: MESOS-10171
> URL: https://issues.apache.org/jira/browse/MESOS-10171
> Project: Mesos
> Issue Type: Task
> Components: allocation, master
> Reporter: Andrei Sekretenko
> Assignee: Andrei Sekretenko
> Priority: Major
>
> This should allow schedulers to set Exists/NotExists constraint on an
> attribute/region/availability zone and have the constraint applied by the
> allocator.
> *The main goal* it to get a foundation suitable for adding other attribute
> constraints.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)