[ 
https://issues.apache.org/jira/browse/MESOS-9975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Meng Zhu reassigned MESOS-9975:
-------------------------------

    Assignee: Meng Zhu

> Sorter may leak clients.
> ------------------------
>
>                 Key: MESOS-9975
>                 URL: https://issues.apache.org/jira/browse/MESOS-9975
>             Project: Mesos
>          Issue Type: Bug
>          Components: allocation
>            Reporter: Meng Zhu
>            Assignee: Meng Zhu
>            Priority: Major
>              Labels: resource-management
>
> In MESOS-9015, we allowed resource quantities to change when updating an 
> existing allocation. When the allocation is updated to empty, however, we 
> forget to remove the client in the map in the `sorter::update()` if the 
> `newAllocation` is `empty()`.
> https://github.com/apache/mesos/blob/master/src/master/allocator/mesos/sorter/drf/sorter.hpp#L382-L384
> The above case could happen, for example, when a CSI volume with a stale 
> profile is destroyed, it would be better to convert it into an empty resource 
> since the disk space is no longer available. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to