Details
-
Bug
-
Status: Reviewable
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The new added load qos controller should only get USAGE SLACK resources but not ALLOCATION SLACK resources.
for (const ResourceUsage::Executor& executor : usage.executors()) { // Set kill correction for all revocable executors. if (!Resources(executor.allocated()).revocable().empty()) { QoSCorrection correction; correction.set_type(mesos::slave::QoSCorrection_Type_KILL); correction.mutable_kill()->mutable_framework_id()->CopyFrom( executor.executor_info().framework_id()); correction.mutable_kill()->mutable_executor_id()->CopyFrom( executor.executor_info().executor_id()); corrections.push_back(correction); } }