-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41791/
-----------------------------------------------------------
(Updated 一月 20, 2016, 6:38 a.m.)
Review request for mesos, Ben Mahler, Artem Harutyunyan, Joris Van Remoortere,
Joseph Wu, Klaus Ma, and Jian Qiu.
Summary (updated)
-----------------
Updated allocation slack when dynamic reserve new resources (1/3).
Bugs: MESOS-4145
https://issues.apache.org/jira/browse/MESOS-4145
Repository: mesos
Description (updated)
-------
Update allocation slack resources if reserve some new
stateless reserved resources. For such case, the allocation
slack resources will be increased.
This patch updates both `updateAvailable` and `updateAllocation`
when reserving some new resources.
There are three patches handling dynamic reservation and oo phase 1.
1) https://reviews.apache.org/r/41791 Reserve new resources via
`updateAllocation` and `updateAvailable`. (1/3).
2) https://reviews.apache.org/r/42113 Unreserve resources via
`updateAllocation` (2/3).
3) https://reviews.apache.org/r/42194 Unreserve resources via `updateAvailable`
(3/3).
Diffs
-----
src/master/allocator/mesos/hierarchical.cpp
d541bfa3f4190865c65d35c9d1ffdb8a3f194056
src/tests/hierarchical_allocator_tests.cpp
e044f832c2c16e53e663c6ced5452649bb0dcb59
Diff: https://reviews.apache.org/r/41791/diff/
Testing
-------
make
make check
Thanks,
Guangya Liu