----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66984/ -----------------------------------------------------------
(Updated May 7, 2018, 2:02 p.m.) Review request for mesos, Benjamin Mahler, Kapil Arya, Till Toenshoff, and Vinod Kone. Changes ------- Added a todo to check invariants. Repository: mesos Description ------- Schedulers that are below their fair share will continue to get allocated resources even if they don't need those resources. The expected behavior here is that schedulers will decline those resources for a long time (or forever). Not all schedulers do this, however, which means that some schedulers might get _starved_ of resources. Technically these schedulers are already at or above their fair share, but some operators feel that this is keeping the cluster underutilized. Rather than guarantee that all schedulers will decline with large timeouts this patch ensures that all other schedulers will see resources from the declined agent before they see resources from that agent again, even if there are now more resources available on that agent. Diffs (updated) ----- src/master/allocator/mesos/hierarchical.hpp 955ae3e6a9e3c790fb260311ec4b4ef725a826d3 src/master/allocator/mesos/hierarchical.cpp 1000968be6a2935a4cac571414d7f06d7df7acf0 Diff: https://reviews.apache.org/r/66984/diff/3/ Changes: https://reviews.apache.org/r/66984/diff/2-3/ Testing ------- make check Need to add dedicated tests. Thanks, Meng Zhu
