Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9807

Introduce a `struct Quota` wrapper.

    XMLWordPrintableJSON

    Details

    • Epic Link:
    • Sprint:
      Resource Mgmt: RI15 Sp 48, Resource Mgmt: RI 15 Sp 49
    • Story Points:
      5

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              mzhu Meng Zhu
              Reporter:
              mzhu Meng Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: