-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51621/
-----------------------------------------------------------
(Updated 九月 7, 2016, 9:19 a.m.)
Review request for mesos, Benjamin Mahler, Jacob Janco, and Jiang Yan Xu.
Bugs: MESOS-3078
https://issues.apache.org/jira/browse/MESOS-3078
Repository: mesos
Description
-------
Enable the `recoverResources` logic to call `ensureAllocation`,
this can make sure the `allocationCandidates` can be updated
as soon as possible and allocate the resources as soon as possible
if there are no request in the message queue.
Diffs (updated)
-----
src/master/allocator/mesos/hierarchical.cpp
9e5db2196c6a541dc1208ba8b9f13ef9a518bcc4
src/tests/persistent_volume_tests.cpp
a6f97c4bb5fb29d610c01255036095e2b30c44c5
src/tests/reservation_endpoints_tests.cpp
bee5ea6b3a3ee7fafb7312a6d89de79d62c57ec1
src/tests/reservation_tests.cpp 000957826011bf28f7550a83db3e60a796162fb3
Diff: https://reviews.apache.org/r/51621/diff/
Testing (updated)
-------
make
make check
```
GLOG_v=1 ./bin/mesos-tests.sh --gtest_filter="*PersistentVolumeTest.BadACL*/*"
--verbose --gtest_repeat=20
GLOG_v=1 ./bin/mesos-tests.sh --gtest_filter="*PersistentVolumeTest.GoodACL*/*"
--verbose --gtest_repeat=20
GLOG_v=1 ./bin/mesos-tests.sh
--gtest_filter="ReservationEndpointsTest.UnreserveAvailableAndOfferedResources"
--gtest_repeat=20
GLOG_v=1 ./bin/mesos-tests.sh
--gtest_filter="ReservationEndpointsTest.ReserveAvailableAndOfferedResources"
--gtest_repeat=20
GLOG_v=1 ./bin/mesos-tests.sh
--gtest_filter="ReservationTest.ACLMultipleOperations" --verbose
--gtest_repeat=20
```
Thanks,
Guangya Liu