mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Re: Review Request 61181: Stored subscribed resources in resource provider manager.
Date Mon, 31 Jul 2017 15:08:17 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61181/
-----------------------------------------------------------

(Updated July 31, 2017, 5:08 p.m.)


Review request for mesos, Jie Yu and Jan Schlicht.


Changes
-------

Used the correct loop.


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 (updated)
-----

  src/resource_provider/manager.cpp 44e1576d4462295d404429d51682134306047462 


Diff: https://reviews.apache.org/r/61181/diff/2/

Changes: https://reviews.apache.org/r/61181/diff/1-2/


Testing
-------

Tested as part of https://reviews.apache.org/r/61182/.


Thanks,

Benjamin Bannier


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message