Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21484

Possible race in JobExecution.changePriority method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • None
    • compute
    • Docs Required, Release Notes Required

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dmitry.baranov Dmitry Baranov
              dmitry.baranov Dmitry Baranov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m