----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61181/ -----------------------------------------------------------
Review request for mesos, Jie Yu and Jan Schlicht. Bugs: MESOS-7837 https://issues.apache.org/jira/browse/MESOS-7837 Repository: mesos Description ------- In order to be able to always communicate the aggregated total resources available on all subscribed resource providers, a resource provider manager needs to keep track of the resources of all subscribed resource providers. This commit adds a field for that the manager's internal data structures for that purpose. To make assigned 'ResourceProviderID's opaque to users of managers, the manager assigns provider ids to all resources added. Diffs ----- src/resource_provider/manager.cpp 44e1576d4462295d404429d51682134306047462 Diff: https://reviews.apache.org/r/61181/diff/1/ Testing ------- Tested as part of https://reviews.apache.org/r/61182/. Thanks, Benjamin Bannier