-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67826/
-----------------------------------------------------------
(Updated July 24, 2018, 12:50 p.m.)
Review request for mesos, Benjamin Mahler and Jiang Yan Xu.
Bugs: MESOS-9104
https://issues.apache.org/jira/browse/MESOS-9104
Repository: mesos
Description
-------
Currently, depending on already allocated resources,
`HierarchicalAllocatorProcess::Slave::getAvailable()`
may not contain all the shared resources.
Thus it does not accurately reflect what is available.
Since shared resources are always allocatable, we should
include all shared resources in the agent available resources.
This would help remove the one off logic for removing and
adding back shared resources in the allocation loop.
Diffs (updated)
-----
src/master/allocator/mesos/hierarchical.hpp
c1a6789f1808a57dd94ede7bbd2636031f136ea3
Diff: https://reviews.apache.org/r/67826/diff/4/
Changes: https://reviews.apache.org/r/67826/diff/3-4/
Testing
-------
make check
Thanks,
Meng Zhu