[
https://issues.apache.org/jira/browse/MESOS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jie Yu resolved MESOS-2547.
---------------------------
Resolution: Fixed
Fix Version/s: 0.23.0
commit de0307cb8bd615dcffd09f7816d7de06deeba185
Author: Jie Yu <[email protected]>
Date: Mon Mar 23 17:34:40 2015 -0700
Symlink the namespace handle with ContainerID for the port mapping isolator.
Review: https://reviews.apache.org/r/32426
> Cleanup stale bind mounts for port mapping isolator during slave recovery.
> --------------------------------------------------------------------------
>
> Key: MESOS-2547
> URL: https://issues.apache.org/jira/browse/MESOS-2547
> Project: Mesos
> Issue Type: Improvement
> Affects Versions: 0.21.0, 0.21.1, 0.22.0
> Reporter: Jie Yu
> Assignee: Jie Yu
> Fix For: 0.23.0
>
>
> Leaked bind mount under /var/run/netns for port mapping isolator is a known
> issue. There are many ways it can get leaked. For example, if the slave
> crashes after creating the bind mount but before creating the veth, the bind
> mount will be leaked. Also, if the detached unmount does not finish in time
> and the subsequent os::rm fails, the bind mount will be leaked as well.
> Since leaked bind mount is inevitable, we need to clean them up during
> startup (slave recovery).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)