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

Chun-Hung Hsiao reassigned MESOS-8467:
--------------------------------------

            Assignee: Chun-Hung Hsiao
              Sprint: Storage R11 Sprint 40
        Story Points: 2
    Target Version/s: 1.8.0, 1.7.3
              Labels: mesosphere mesosphere-dss-ga storage  (was: 
mesosphere-dss-ga storage)

> Destroyed executors might be used after `Slave::publishResource()`.
> -------------------------------------------------------------------
>
>                 Key: MESOS-8467
>                 URL: https://issues.apache.org/jira/browse/MESOS-8467
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Chun-Hung Hsiao
>            Assignee: Chun-Hung Hsiao
>            Priority: Critical
>              Labels: mesosphere, mesosphere-dss-ga, storage
>
> In the following code from 
> [https://github.com/apache/mesos/blob/7b30b9ccd63dbcd3375e012dae6e2ffb9dc6a79f/src/slave/slave.cpp#L2652:]
> {code:cpp}
> publishResources()
>   .then(defer(self(), [=] {
>     return containerizer->update(
>         executor->containerId,
>         executor->allocatedResources());
>   }))
> {code}
> A destroyed executor might be dereferenced if it has been move to 
> {{Framework.completedExecutors}} and kicked out from this circular buffer. We 
> should refactor {{Slave::publishResources()}} and its uses to make the code 
> less fragile.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to