-
Type:
Bug
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.5.0
-
Component/s: None
-
Labels:
-
Epic Link:
-
Sprint:Storage R11 Sprint 40, Storage: RI-13 Sprint 44
-
Story Points:2
In the following code from https://github.com/apache/mesos/blob/7b30b9ccd63dbcd3375e012dae6e2ffb9dc6a79f/src/slave/slave.cpp#L2652:
publishResources()
.then(defer(self(), [=] {
return containerizer->update(
executor->containerId,
executor->allocatedResources());
}))
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.
- is related to
-
MESOS-9711 Avoid shutting down executors registering before a required resource provider.
-
- Resolved
-