[
https://issues.apache.org/jira/browse/MESOS-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108776#comment-15108776
]
Klaus Ma commented on MESOS-4442:
---------------------------------
re `recoverResources`, it seems not; only `roleSorter` & `quotaRoleSorter` are
updated accordingly.
> Resource maybe over-offered if estimator shrunk un-used resources.
> ------------------------------------------------------------------
>
> Key: MESOS-4442
> URL: https://issues.apache.org/jira/browse/MESOS-4442
> Project: Mesos
> Issue Type: Bug
> Components: master
> Reporter: Klaus Ma
> Assignee: Klaus Ma
>
> Here's the time sequence of this issue:
> T1: in cluster, {{cpus=2}}: one is revocable and the other one is nonRevocable
> T2: framework1 get offer {{cpus=2}}, but did NOT launch tasks
> T3: Estimator update empty resources; slave.total is updated to cpus=1 in
> {{HierarchicalAllocatorProcess::updateSlave}}
> T4: in {{allocate()}}, slave.total (cpus=1) < slave.allocated (cpus=2), the
> resources cpus=1 will re-offer to framework because {{operator-}} will return
> first item if {{subtractable()}} is false.
> At T4, the state of allocator is in-correct (slave.total > slave.allocated).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)