[ 
https://issues.apache.org/jira/browse/MESOS-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Mahler resolved MESOS-1408.
------------------------------------

    Resolution: Fixed

{noformat}
commit 220da6b41fbfe7f301c1e238d68f2587315559f2
Author: Ben Mahler <[email protected]>
Date:   Thu May 22 11:24:08 2014 -0700

    Reduced acknowledgment delay in the scheduler driver.

    We currently 'defer' in order to acknowledge processed status
    updates in the scheduler driver.

    This is unfortunate because it adds unnecessary delay and
    unnecessary retries, especially when the scheduler's queue
    is backed up.

    It is sufficient to use 'aborted' to see if we can send a status
    update. Ideally there would be proper locking on this variable
    rather than the use of 'volatile', but since we're mostly concerned
    about the driver aborting on the same thread as the status update
    was processed, I've left it as is.

    Review: https://reviews.apache.org/r/21788
{noformat}

> Unnecessary queuing of status update acknowledgments in the scheduler drive.r
> -----------------------------------------------------------------------------
>
>                 Key: MESOS-1408
>                 URL: https://issues.apache.org/jira/browse/MESOS-1408
>             Project: Mesos
>          Issue Type: Bug
>          Components: c++ api, framework, java api, python api
>    Affects Versions: 0.19.0
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>             Fix For: 0.19.0
>
>
> We currently 'defer' in order to acknowledge processed status updates in the 
> scheduler driver.
> This is unfortunate because it adds unnecessary delay and unnecessary 
> retries, especially when the scheduler's queue is backed up!
> It is sufficient to use 'aborted' to see if we can send a status update. 
> Ideally there would be proper locking on this variable rather than the use of 
> 'volatile', but since we're mostly concerned about the driver aborting on the 
> same thread as the status update was processed, I've left it as is.
> This will also be beneficial when we send status updates through the master 
> as is required for MESOS-1389 and the other reconciliation tickets.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to