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

Andrei Sekretenko commented on MESOS-9793:
------------------------------------------

{code}
commit 89a16ae04a2e4ed10a4d49bff467cb066883febb
Author: Andrei Sekretenko <[email protected]>
Date:   Mon Jul 1 22:56:06 2019 -0400

    Provided ability to pass suppressed roles via V0 updateFramework().
    
    This patch adds a list of suppressed roles to the arguments of
    scheduler driver's updateFramework() method to make it possible
    for V0 frameworks to selectively suppress/revive offers, to reach
    parity with V1 UPDATE_FRAMEWORK.
    
    To keep re-registration consistent with updateFramework(), the set
    of suppressed roles is now stored by the driver and used when it
    re-registers.
    
    To prevent re-registration from implicitly altering the effects of
    reviveOffers() and suppressOffers(), reviveOffers() now clears the
    stored suppressed roles and suppressOffers() now fills the stored
    suppressed roles. If these calls are issued in a disconnected state
    of the driver, the driver will perform an UPDATE_FRAMEWORK call upon
    re-connection.
    
    Review: https://reviews.apache.org/r/70894/

{code}
{code}
commit f2deec5e57a84cef0033bda45ee87ee4259ab4c7
Author: Andrei Sekretenko <[email protected]>
Date:   Mon Jul 1 23:21:25 2019 -0400

    Supported suppressedRoles in updateFramework() in V0 Java bindings.
    
    Review: https://reviews.apache.org/r/70897/

{code}
{code}
commit 3b3ee085582b0a1d116627178cb898c4b6d5c64d
Author: Andrei Sekretenko <[email protected]>
Date:   Mon Jul 1 23:40:11 2019 -0400

    Added a test for suppressing roles via V0 updateFramework().
    
    Review: https://reviews.apache.org/r/70895/

{code}
{code}
commit 285a1b1896a9feb3095b266ab9bbda300103e6eb
Author: Andrei Sekretenko <[email protected]>
Date:   Mon Jul 1 23:40:24 2019 -0400

    Added a test that driver re-registration does not unsuppress offers.
    
    Review: https://reviews.apache.org/r/70982/

{code}
{code}
commit 57b98ab790a8b2ed3e91cca825e1a38ebd51150a
Author: Andrei Sekretenko <[email protected]>
Date:   Tue Jul 2 00:25:22 2019 -0400

    Added scheduler driver constructors which set initial suppressed roles.
    
    Review: https://reviews.apache.org/r/70943/

{code}
{code}
commit 7b2811217257d49818eebf2e519f92d0354c6e20
Author: Andrei Sekretenko <[email protected]>
Date:   Tue Jul 2 00:27:55 2019 -0400

    Added a test for scheduler driver registering with a suppressed role.
    
    Review: https://reviews.apache.org/r/70944/

{code}
{code}
commit 5d2732692541ec9aecba20c501fb5e35a19ab49f
Author: Andrei Sekretenko <[email protected]>
Date:   Tue Jul 2 00:26:37 2019 -0400

    Added constructors with a list of suppressed roles to Java V0 bindings.
    
    Review: https://reviews.apache.org/r/70945/
{code}

> Implement UPDATE_FRAMEWORK call in V0 API
> -----------------------------------------
>
>                 Key: MESOS-9793
>                 URL: https://issues.apache.org/jira/browse/MESOS-9793
>             Project: Mesos
>          Issue Type: Task
>         Environment: Reviews for adding suppressed roles to the 
> updatedFramework() in scheduler driver:
> [https://reviews.apache.org/r/70894/]
> [https://reviews.apache.org/r/70897/]
> [https://reviews.apache.org/r/70895/]
> [https://reviews.apache.org/r/70982/]
>            Reporter: Andrei Sekretenko
>            Assignee: Andrei Sekretenko
>            Priority: Major
>              Labels: multitenancy, resource-management
>




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

Reply via email to