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

Review request for mesos, Benjamin Mahler and Meng Zhu.


Bugs: MESOS-9949
    https://issues.apache.org/jira/browse/MESOS-9949


Repository: mesos


Description
-------

This patch extends the signature of `recoverResources()` with a flag
indicating wheteher the resources being recovered were actaully
allocated to a framework, or only offered.

This is a prerequisite for tracking quota consumption in the allocator.


Diffs
-----

  include/mesos/allocator/allocator.hpp 
2bab53ab5fb25931a724c20a039e1301983ba574 
  src/master/allocator/mesos/allocator.hpp 
6921581745bf876ee42bcfb62b59245f23fcbf47 
  src/master/allocator/mesos/hierarchical.hpp 
5ea37912dadded47eaa2d354889c95533b191c59 
  src/master/allocator/mesos/hierarchical.cpp 
256fdce61ccfb768605cac1579c9a6632cd26fec 
  src/master/master.cpp a2c289a8b6e30eac690f77c7fc1b12b16f62f541 
  src/tests/allocator.hpp 01e6d2ce3d0655ad408f605c7be84cd7c0f0d479 
  src/tests/master_allocator_tests.cpp e9607577c57c4ae36133a649667b5a416ba9dece 
  src/tests/slave_recovery_tests.cpp d99752ab082f1aca9fb77659378d0bca5a0598eb 


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


Testing
-------


Thanks,

Andrei Sekretenko

Reply via email to