Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21255

redis works popping should run atomically

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 8.10-HF01, 9.1
    • Component/s: Events / Works
    • Tags:
    • Sprint:
      nxSL Sprint 9.1.1, nxSL Sprint 9.1.2
    • Story Points:
      2

      Description

      when popping works from redis we're entering twice in redis, once for getting the work's id and then for fetching the work's parameters. when a work is duplicated in queues (once running and scheduled), the popping thread could get an NPE while retrieving the parameters if the running is completed in the meanwhile.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: