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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Taras Ledkov created IGNITE-3099:
------------------------------------

             Summary: 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)