[
https://issues.apache.org/jira/browse/MESOS-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bannier updated MESOS-5073:
------------------------------------
Description:
The Mesos allocator {{internal::HierarchicalAllocatorProcess}} owns two raw
pointer members {{roleSorter}} and {{quotaRoleSorter}}, but fails to properly
manage their lifetime; they are e.g., not cleaned up in the allocator process
destructor.
Since currently we do not recreate an existing allocator in production code
they seem to be unaffected by these leaks; they do affect tests though where we
create allocators multiple times.
was:The Mesos allocator {{internal::HierarchicalAllocatorProcess}} owns two
raw pointer members {{roleSorter}} and {{quotaRoleSorter}}, but fails to
properly manage their lifetime; they are e.g., not cleaned up in the allocator
process destructor.
> Mesos allocator leaks role sorter and quota role sorters
> --------------------------------------------------------
>
> Key: MESOS-5073
> URL: https://issues.apache.org/jira/browse/MESOS-5073
> Project: Mesos
> Issue Type: Improvement
> Components: allocation
> Reporter: Benjamin Bannier
> Assignee: Benjamin Bannier
> Labels: tech-debt
>
> The Mesos allocator {{internal::HierarchicalAllocatorProcess}} owns two raw
> pointer members {{roleSorter}} and {{quotaRoleSorter}}, but fails to properly
> manage their lifetime; they are e.g., not cleaned up in the allocator process
> destructor.
> Since currently we do not recreate an existing allocator in production code
> they seem to be unaffected by these leaks; they do affect tests though where
> we create allocators multiple times.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)