-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66457/
-----------------------------------------------------------
(Updated April 11, 2018, 2:38 a.m.)
Review request for mesos, Benjamin Bannier, Jie Yu, and Jan Schlicht.
Changes
-------
Rename `ApplyResourceUsage` to `UpdateResourceUsage`.
Summary (updated)
-----------------
WIP: Made resource provider API aware of workloads.
Bugs: MESOS-8760
https://issues.apache.org/jira/browse/MESOS-8760
Repository: mesos
Description (updated)
-------
This patch introduces a breaking change to change `PublishResources` to
`UpdateResourceUsage`, so the resource provider is aware of workloads.
For local resource providers, a workload is a container, and this call
is responsible to prepare the resources for each container. For external
resource providers, a workload is a framework, so this call can bookkeep
the resource usage for each framework and inform the allocator after a
failover.
Note that this call is designed to report ALL resources used by every
workload on an agent, so it can handle resources without identifiers.
Diffs (updated)
-----
include/mesos/resource_provider/resource_provider.proto
db7c751bb61fb1ee2421015dcbefc021c3afbdac
include/mesos/v1/resource_provider/resource_provider.proto
42bc050ed01a272603a41ab052ed75d799dd76e2
Diff: https://reviews.apache.org/r/66457/diff/2/
Changes: https://reviews.apache.org/r/66457/diff/1-2/
Testing
-------
This patch cannot be compiled standalone. Tests will be done later in the chain.
Thanks,
Chun-Hung Hsiao