[ https://issues.apache.org/jira/browse/MESOS-9807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Meng Zhu reassigned MESOS-9807: ------------------------------- Assignee: Meng Zhu > Introduce a `struct Quota` wrapper. > ----------------------------------- > > Key: MESOS-9807 > URL: https://issues.apache.org/jira/browse/MESOS-9807 > Project: Mesos > Issue Type: Improvement > Components: allocation > Reporter: Meng Zhu > Assignee: Meng Zhu > Priority: Major > Labels: resource-management > > We should introduce: > struct Qutota { > ResourceQuantities guarantees; > ResourceLimits limits; > } > There are a couple of small hurdles. First, there is already a struct Quota > wrapper in "include/mesos/quota/quota.hpp", we need to deprecate that first. > Second, `ResourceQuantities` and `ResourceLimits` are right now only used in > internal headers. We probably want to move them into public header, since > this struct will also be used in allocator interface which is also in the > public header. (Looking at this line, the boundary is alreayd breached: > https://github.com/apache/mesos/blob/master/include/mesos/allocator/allocator.hpp#L41) -- This message was sent by Atlassian JIRA (v7.6.3#76005)