[
https://issues.apache.org/jira/browse/MESOS-9812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Meng Zhu reassigned MESOS-9812:
-------------------------------
Assignee: Meng Zhu
> Add achievability validation for update quota call.
> ---------------------------------------------------
>
> Key: MESOS-9812
> URL: https://issues.apache.org/jira/browse/MESOS-9812
> Project: Mesos
> Issue Type: Improvement
> Reporter: Meng Zhu
> Assignee: Meng Zhu
> Priority: Major
> Labels: resource-management
>
> Add overcommit check and force flag override for update quota call.
> Right now, we only have validation for per quota config. We need to add
> further validation for the update quota call regarding:
> 1. If the role's resource limits are already breached. To achieve this, we
> need to first rescind offers until its allocated resources are below limits.
> If after all rescinds, allocated resources are still above the requested
> limits, we will return an error unless the `force` flag is used.
> 2. If the aggregated quota guarantees of all roles are less than the cluster
> capacity. If so we will return an error unless the `force` flag is used.
> 3. hierarchical quota validness (we could probably punt this given that we
> only support flat role quota at the moment).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)