-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66457/
-----------------------------------------------------------
Review request for mesos, Benjamin Bannier, Jie Yu, and Jan Schlicht.
Bugs: MESOS-8760
https://issues.apache.org/jira/browse/MESOS-8760
Repository: mesos
Description
-------
This patch introduces a breaking change to change `PublishResources` to
`ApplyResourceUsage`, 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
-----
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/1/
Testing
-------
This patch cannot be compiled standalone. Tests will be done later in the chain.
Thanks,
Chun-Hung Hsiao
|