mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <>
Subject Review Request 70613: Randomized the agents in the second allocation stage.
Date Thu, 09 May 2019 00:14:30 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Andrei Sekretenko and Benjamin Mahler.

Repository: mesos


Before this patch, agents are randomized before the 1st
allocation stage (the quota allocation stage) but not in
the 2nd stage. One perceived issue is that resources on
the agents in the front of the queue are likely to be mostly
allocated in the 1st stage, leaving only slices of resources
available for the second stage. Thus we may see consistently
low quality offers for role/frameworks that get allocated first
in the 2nd stage.

This patch randomizes the agents again before the 2nd stage to
eliminate any effect left by the 1st stage allocation.


  src/master/allocator/mesos/hierarchical.cpp 64a076ddd29711437d539a06bb0470755828cc87 



make check


Meng Zhu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message