[
https://issues.apache.org/jira/browse/AURORA-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937282#comment-15937282
]
Zameer Manji commented on AURORA-1908:
--------------------------------------
We label {{Vetos}} with a {{VetoType}} which is {{STATIC}} or {{DYNAMIC}}.
To me this can be generalized to short circuit if all of the vetoes are
{{STATIC}}
> Short-circuit preemption filtering when a Veto applies to entire host
> ---------------------------------------------------------------------
>
> Key: AURORA-1908
> URL: https://issues.apache.org/jira/browse/AURORA-1908
> Project: Aurora
> Issue Type: Task
> Reporter: Santhosh Kumar Shanmugham
> Priority: Minor
>
> When matching a {{ResourceRequest}} against a {{UnusedResource}} in
> {{PremeptionVictimFilter.filterPremeptionVictions}} there are 4 kinds of
> {{Veto}} es that can be returned. 3 out of the 4 {{Veto}} es apply to the
> entire host (namely {{DEDICATED_CONSTRAINT_MISMATCH}}, {{MAINTENANCE}},
> {{LIMIT_NOT_SATISFIED}} or {{CONSTRAINT_MISMATCH}}). In this case we can
> short-circuit and return early and move on to the next host to consider.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)