-
Type:
Bug
-
Status: Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:
-
Target Version/s:
-
Sprint:Mesosphere Sprint 51
-
Story Points:2
A custom executor or the built-in default executor cannot launch a task if they use reserved resources as part of ExecutorInfo. This mostly happens due to the fact that we don't unallocate the Resource when comparing it with the checkpointed resources on the agent:
Resources checkpointedExecutorResources = Resources(executorInfo.resources()).filter(needCheckpointing);
The fix can be as simple as changing this to:
Resources checkpointedExecutorResources = unallocated(executorInfo.resources()).filter(needCheckpointing);