[ 
https://issues.apache.org/jira/browse/MESOS-7755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079438#comment-16079438
 ] 

Jie Yu commented on MESOS-7755:
-------------------------------

commit 9e8e013340be57fb85d4fa64e43d2d090e114422
Author: Benjamin Bannier <[email protected]>
Date:   Sat Jul 8 20:50:20 2017 -0700

    Changed semantics of allocator 'updateSlave' method.

    We change the semantics of the 'updateSlave' method present in the
    allocator interface. While previously the passed optional resource
    argument was interpreted as the amount of (new) oversubscribed
    resources, it now represents the new amount of total resources on the
    given agent.

    We addtionally add an optimization of
    'HierarchicalAllocatorProcess::updateSlaveTotal' for cases where the
    passed total is identical to the current total. This operation is a
    no-op now and we prevent updating the sorters.

    Review: https://reviews.apache.org/r/60638/

commit d345ebccf19387d75d67c99f8f6e72a301f55bc3
Author: Benjamin Bannier <[email protected]>
Date:   Sat Jul 8 20:50:26 2017 -0700

    Added MESOS-7755 to the upgrades guide and the CHANGELOG.

    Review: https://reviews.apache.org/r/60639/

> Update allocator to support updating agent total resources
> ----------------------------------------------------------
>
>                 Key: MESOS-7755
>                 URL: https://issues.apache.org/jira/browse/MESOS-7755
>             Project: Mesos
>          Issue Type: Task
>          Components: allocation
>            Reporter: Benjamin Bannier
>            Assignee: Benjamin Bannier
>              Labels: mesosphere
>
> Agents encapsulate resource providers making their resources appear to the 
> master as agent resources. In order to permit updates to the resources of a 
> local resource provider (e.g., available disk expanded physically by adding 
> another driver, resource provider resources disappeared since resource 
> provider disappeared), we need to allow agents to change their total 
> resources.
> Expected semantics for the hierarchical allocator would be that {{total}} can 
> shrink independently of the current {{allocated}}; should {{allocated}} 
> exceed {{total}} no allocations can be made until {{allocated < total}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to