You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitry Baranov (Jira)" <ji...@apache.org> on 2024/02/07 12:31:00 UTC

[jira] [Created] (IGNITE-21484) Possible race in JobExecution.changePriority method

Dmitry Baranov created IGNITE-21484:
---------------------------------------

             Summary: Possible race in JobExecution.changePriority method
                 Key: IGNITE-21484
                 URL: https://issues.apache.org/jira/browse/IGNITE-21484
             Project: Ignite
          Issue Type: Bug
          Components: compute
    Affects Versions: 3.0.0-beta1
            Reporter: Dmitry Baranov


In [https://github.com/apache/ignite-3/blob/6729811f99ad18b1490f9b7516a2af84a898e7af/modules/compute/src/main/java/org/apache/ignite/internal/compute/queue/QueueExecutionImpl.java#L115]

race is possible.

thread 1: remove task from the queue
thread 2: haven't found the same task in the queue because it is not added yet by thread 1



--
This message was sent by Atlassian Jira
(v8.20.10#820010)