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)