[
https://issues.apache.org/jira/browse/MESOS-9782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Meng Zhu reassigned MESOS-9782:
-------------------------------
Assignee: Meng Zhu
> Random sorter fails to clear removed clients.
> ---------------------------------------------
>
> Key: MESOS-9782
> URL: https://issues.apache.org/jira/browse/MESOS-9782
> Project: Mesos
> Issue Type: Bug
> Components: allocation
> Affects Versions: 1.8.0
> Reporter: Meng Zhu
> Assignee: Meng Zhu
> Priority: Blocker
> Labels: resource-management
>
> In `RandomSorter::SortInfo::updateRelativeWeights()`, we do not clear the
> stale `clients` and `weights` vector if the state is dirty. This would result
> in an allocator crash due to including removed framework and roles in a
> sorted result e.g. check failure would occur here
> (https://github.com/apache/mesos/blob/62f0b6973b2268a3305fd631a914433a933c6757/src/master/allocator/mesos/hierarchical.cpp#L1849).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)