reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-1273) Race condition between Task failed and Task done
Date Fri, 25 Mar 2016 01:59:25 GMT

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

Julia resolved REEF-1273.
-------------------------
       Resolution: Fixed
    Fix Version/s: 0.15

Resolved via https://github.com/apache/reef/pull/898

> Race condition between Task failed and Task done
> ------------------------------------------------
>
>                 Key: REEF-1273
>                 URL: https://issues.apache.org/jira/browse/REEF-1273
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET, REEF.NET Evaluator
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>             Fix For: 0.15
>
>
> The following execution order will cause an invalid state transition in the {{TaskRuntime}}:
> 1. Task completes, state not yet changed.
> 2. Close {{ContextRuntime}}, finds out task's {{CloseHandler}} not bound, throw an Exception,
but Exception has not yet propagated upwards to change state to {{Failed}}.
> 3. Task changes state to {{Done}}.
> 4. Exception propagates upwards, state changed to {{Failed}}. Inconsistent state transition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message