ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4676) Clojure hangs if executed nested internal task with continuation
Date Thu, 09 Feb 2017 06:43:41 GMT

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

Alexey Kuznetsov updated IGNITE-4676:
-------------------------------------
    Description: 
Initially this bug found in following scenario.
Client send task T1 to node B via node A.
Node A sends closure ExeCallable to node B and add listener to taskFuture.
On node B ExeCallable executed internal task with one job with continuation.
Result of ExeCallable never returned to node A.

The problem isolated in GridJobWorker 
{code}private static final ThreadLocal<Boolean> HOLD{code}
 variable does not change its state in valid way for internal tasks and never call {{finishJob()}}
method.

  was:
Initially this bug found in following scenario.
Client send task T1 to node B via node A.
Node A sends closure ExeCallable to node B and add listener to taskFuture.
On node B ExeCallable executed internal task with one job with continuation.
Result of ExeCallable never returned to node A.

The problem isolated in GridJobWorker {{private static final ThreadLocal<Boolean> HOLD
}} variable - does not change its state in valid way for internal tasks and never call {{finishJob()}}
method.


> Clojure hangs if executed nested internal task with continuation
> ----------------------------------------------------------------
>
>                 Key: IGNITE-4676
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4676
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>    Affects Versions: 1.8
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Kuznetsov
>             Fix For: 1.9
>
>
> Initially this bug found in following scenario.
> Client send task T1 to node B via node A.
> Node A sends closure ExeCallable to node B and add listener to taskFuture.
> On node B ExeCallable executed internal task with one job with continuation.
> Result of ExeCallable never returned to node A.
> The problem isolated in GridJobWorker 
> {code}private static final ThreadLocal<Boolean> HOLD{code}
>  variable does not change its state in valid way for internal tasks and never call {{finishJob()}}
method.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message