----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57527/ -----------------------------------------------------------
(Updated April 11, 2017, 10 p.m.) Review request for mesos, Benjamin Bannier, Benjamin Mahler, and Michael Park. Changes ------- Rebase Repository: mesos Description ------- Previously, DRFSorter only kept track of weights for clients currently in the sorter; the allocator supplied the current weight when adding a client to the sorter. This commit changes the sorter to keep track of all weights, not just those for the active clients in the sorter. The allocator can now just pass along role weights to the role sorters, rather than needing to track them itself. This commit changes the sorter API. Diffs (updated) ----- src/master/allocator/mesos/hierarchical.hpp f84b0574ce9a392c9528c87b04b01dbb2053cff7 src/master/allocator/mesos/hierarchical.cpp 051f749dd5921a322ca930a042c31814616d38f9 src/master/allocator/sorter/drf/sorter.hpp 76329220e1115c1de7810fb69b943c78c078be59 src/master/allocator/sorter/drf/sorter.cpp ed54680cecb637931fc344fbcf8fd3b14cc24295 src/master/allocator/sorter/sorter.hpp b3029fcf7342406955760da53f1ae736769f308c src/tests/sorter_tests.cpp 43bd85798aef0c89751b725ebf35308a5e9e997a Diff: https://reviews.apache.org/r/57527/diff/6/ Changes: https://reviews.apache.org/r/57527/diff/5-6/ Testing ------- `make check` Thanks, Neil Conway