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

Introduce a `struct Quota` wrapper.

    XMLWordPrintableJSON

Details

    • Resource Mgmt: RI15 Sp 48, Resource Mgmt: RI 15 Sp 49
    • 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

            mzhu Meng Zhu
            mzhu Meng Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: