Meng Zhu created MESOS-9975:

             Summary: Sorter may leak clients.
                 Key: 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()`.

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

Reply via email to