You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2016/05/10 07:28:12 UTC

[jira] [Updated] (IGNITE-3099) Race condition on the order of events

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

Taras Ledkov updated IGNITE-3099:
---------------------------------
    Description: 
The test org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest detects the irregular order of the JOB_FINISHED  & EVT_JOB_RESULTED events. 
In case async execution and  when the job worker is launched on separate thread the JOB_FINISHED event is recorded before EVT_JOB_RESULTED.
In this case a response is added to delayed queue.
See more: [GridTaskWorker.java|https://github.com/apache/ignite/blob/01f12a238e075ae82232e4fa5e80ba109130e14c/modules/core/src/main/java/org/apache/ignite/internal/processors/task/GridTaskWorker.java#L732]





  was:
The test org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest detects the irregular order of the JOB_FINISHED  & EVT_JOB_RESULTED events. 
In case async execution and  when the job worker is launched on separate thread the JOB_FINISHED event is recorded before EVT_JOB_RESULTED.
In this case a response is added to delayed queue.
See more: [GridTaskWorker.java
|https://github.com/apache/ignite/blob/01f12a238e075ae82232e4fa5e80ba109130e14c/modules/core/src/main/java/org/apache/ignite/internal/processors/task/GridTaskWorker.java#L732]






> Race condition on the order of events
> -------------------------------------
>
>                 Key: IGNITE-3099
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3099
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>    Affects Versions: 1.6
>            Reporter: Taras Ledkov
>            Priority: Minor
>
> The test org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest detects the irregular order of the JOB_FINISHED  & EVT_JOB_RESULTED events. 
> In case async execution and  when the job worker is launched on separate thread the JOB_FINISHED event is recorded before EVT_JOB_RESULTED.
> In this case a response is added to delayed queue.
> See more: [GridTaskWorker.java|https://github.com/apache/ignite/blob/01f12a238e075ae82232e4fa5e80ba109130e14c/modules/core/src/main/java/org/apache/ignite/internal/processors/task/GridTaskWorker.java#L732]



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