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

(Updated Sept. 27, 2019, 12:59 p.m.)


Review request for mesos, Benjamin Mahler and Meng Zhu.


Changes
-------

Removed the `allocated=false` default form the signature of recoverResources().


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

  include/mesos/allocator/allocator.hpp 
2bab53ab5fb25931a724c20a039e1301983ba574 
  src/master/allocator/mesos/allocator.hpp 
6921581745bf876ee42bcfb62b59245f23fcbf47 
  src/master/allocator/mesos/hierarchical.hpp 
d42124f534536ad044bff9878d242892fa042f24 
  src/master/allocator/mesos/hierarchical.cpp 
47281542792486854b71c7e75dfa8ea3ee3ef3fc 
  src/master/master.cpp 65994aa72ec4bfefdb09b88a62db910727bb0897 
  src/tests/allocator.hpp 01e6d2ce3d0655ad408f605c7be84cd7c0f0d479 
  src/tests/hierarchical_allocator_benchmarks.cpp 
ede116989fe64893f5da56347aab52c6f445e9dc 
  src/tests/hierarchical_allocator_tests.cpp 
a13eb017f7a93ee67c8426e4150858a547175ed6 
  src/tests/master_allocator_tests.cpp e9607577c57c4ae36133a649667b5a416ba9dece 
  src/tests/slave_recovery_tests.cpp b23162d68e2aeaa7b1f1c0d74804bbef5cb1f045 


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

Changes: https://reviews.apache.org/r/71486/diff/2-3/


Testing
-------


Thanks,

Andrei Sekretenko

Reply via email to