----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53096/ -----------------------------------------------------------
(Updated Jan. 26, 2017, 10:06 p.m.) Review request for mesos and Jiang Yan Xu. Changes ------- Addressed review comments. Bugs: MESOS-6444 https://issues.apache.org/jira/browse/MESOS-6444 Repository: mesos Description ------- We maintain a single copy of shared resource in the role and quota sorter's total resources. So, when we update these resources, we remove the previous resources at this agent and add the new resources at this agent. Diffs (updated) ----- src/master/allocator/mesos/hierarchical.hpp 9b66c23f26b37c02ed850c06c4518ea99078b02d src/master/allocator/mesos/hierarchical.cpp c2211be7458755aeb91ef078e4bfe92ac474044a src/tests/persistent_volume_tests.cpp 468a85b4a6ce09592341afd07ce12a03f5fc4f73 Diff: https://reviews.apache.org/r/53096/diff/ Testing ------- Tests passed. Thanks, Anindya Sinha