[
https://issues.apache.org/jira/browse/MESOS-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184095#comment-17184095
]
Andrei Sekretenko commented on MESOS-10172:
-------------------------------------------
{noformat}
commit 74537354ec1b2af3e0e0584bb5f277660dff3614
Author: Andrei Sekretenko <[email protected]>
Date: Thu Jul 16 15:48:03 2020 +0200
Added protobuf messages for offer constraints on a string equality.
This patch adds protobuf messages for setting offer constraints
on equality/non-equality of agent's (pseudo)attribute to a specified
string.
Both added contsraint predicates will evaluate to `true` when the
attribute is not TEXT. This way, schedulers will still perform all
filtration based on non-TEXT attributes on their own, which helps to
avoid subtle integration bugs caused by discrepancies in Scalar/Ranges
comparison between Mesos and the scheduler.
Given that schedulers seem to rarely put constraints on Scalar/Ranges
attributes in the real world, this should not prevent them from
obtaining performance benefits by setting offer constraints.
Review: https://reviews.apache.org/r/72745
commit 5e5d6832b196a450cad55a16cfb202256bef5b37
Author: Andrei Sekretenko <[email protected]>
Date: Mon Aug 3 18:35:06 2020 +0200
Implemented offer constraints on a string attribute equality.
Review: https://reviews.apache.org/r/72775
commit 62931a04f2cd2a1951d04bd348ff23700cc73d9b
Author: Andrei Sekretenko <[email protected]>
Date: Fri Aug 14 21:52:51 2020 +0200
Added basic tests for offer constraints on a string attribute equality.
Review: https://reviews.apache.org/r/72776
{noformat}
> Add offer constraints on (pseudo)attribute value equality
> ---------------------------------------------------------
>
> Key: MESOS-10172
> URL: https://issues.apache.org/jira/browse/MESOS-10172
> Project: Mesos
> Issue Type: Task
> Reporter: Andrei Sekretenko
> Assignee: Andrei Sekretenko
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)