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

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

The helper encapsulates slave resources update logic. It also
avoids redundant updates if the agent resources stay the same.

Also, removed the direct setters in the Slave class to avoid
inconsistent updates.


Diffs
-----

  src/master/allocator/mesos/hierarchical.hpp 
0cd2fac17f09110c46b8540523a9c935f156f858 
  src/master/allocator/mesos/hierarchical.cpp 
35992474eacb8b14ae57e1dc23307e1542f63cb5 


Diff: https://reviews.apache.org/r/68119/diff/1/


Testing
-------

make check


Thanks,

Meng Zhu

Reply via email to