Benjamin Bannier created MESOS-7757:
---------------------------------------
Summary: Update master to handle updates to agent total resources
Key: MESOS-7757
URL: https://issues.apache.org/jira/browse/MESOS-7757
Project: Mesos
Issue Type: Task
Components: master
Reporter: Benjamin Bannier
Assignee: Benjamin Bannier
With MESOS-7755 we update the allocator interface to support updating the total
resources on an agent. These allocator invocations are driven by the master
when it receives an update the an agent's total resources.
We could transport the updates from agents to the master either as update to
{{UpdateSlaveMessage}}, e.g., by adding a {{repeated Resource total}} field; in
order to distinguish updates to {{oversubscribed}} to updates to {{total}} we
would need to introduce an additional tag field (an empty list of {{Resource}}
has the same representation as an absent list of {{Resource}}). Alternatively
we could introduce a new message transporting just the update to {{total}}; it
should be possible to reuse such a message for external resource providers
which we will likely add at a later point.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)