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

Allow resources to be removed when updating the sorter.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: allocation

      Description

      Currently we do not allow resource conversions to change the resource quantities when updating the sorter; we only allow the metadata for their consumed resources to be modified.

      However, this restricts Mesos from supporting operations that remove resources. For example, when a CSI volume with a stale profile is destroyed, it would be better to convert it into an empty resource since the disk space is no longer available. See https://issues.apache.org/jira/browse/MESOS-8825.

      To make the allocator more flexible, we should allow resource conversions to remove resources when updating the sorter.

        Attachments

          Activity

            People

            • Assignee:
              chhsia0 Chun-Hung Hsiao
              Reporter:
              chhsia0 Chun-Hung Hsiao
              Shepherd:
              Benjamin Bannier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: