-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71486/
-----------------------------------------------------------
(Updated Oct. 4, 2019, 6:06 p.m.)
Review request for mesos, Benjamin Mahler and Meng Zhu.
Summary (updated)
-----------------
Added `isAllocated` flag to the `Allocator::recoverResources()` method.
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
56c8caf65d8174e5b1560f2b1aaef067337be653
src/tests/master_allocator_tests.cpp e9607577c57c4ae36133a649667b5a416ba9dece
src/tests/slave_recovery_tests.cpp b23162d68e2aeaa7b1f1c0d74804bbef5cb1f045
Diff: https://reviews.apache.org/r/71486/diff/4/
Changes: https://reviews.apache.org/r/71486/diff/3-4/
Testing
-------
Thanks,
Andrei Sekretenko