You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Meng Zhu (Jira)" <ji...@apache.org> on 2019/09/18 23:10:00 UTC
[jira] [Created] (MESOS-9975) Sorter may leak clients.
Meng Zhu created MESOS-9975:
-------------------------------
Summary: 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
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)