You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2017/02/01 23:12:51 UTC

[jira] [Created] (MESOS-7048) Remove adjustment code within Resources::apply.

Benjamin Mahler created MESOS-7048:
--------------------------------------

             Summary: Remove adjustment code within Resources::apply.
                 Key: MESOS-7048
                 URL: https://issues.apache.org/jira/browse/MESOS-7048
             Project: Mesos
          Issue Type: Task
          Components: technical debt
            Reporter: Benjamin Mahler


Currently, {{Resources::apply()}} will strip allocation info from operation's resources in order to have operations apply correctly to unallocated resources. To make this more explicit, we should move the stripping up into the call sites that need it. We'll need a helper to do this.

As a result, the master and allocator will need to strip prior to applying operations to the agent's total resources (which are stored as unallocated resources).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)