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

Admin center/Background work tab displays invalid scheduled and running jobs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.1
    • Fix Version/s: 7.10-HF07, 8.2
    • Component/s: Events / Works, Redis

      Description

      Randomly on ref bench we can see pending jobs that that are not treated.

      They are not anymore in the queue so not processed, they are still listed in the scheduled list and the work state (with a 'Q' state for scheduled), there are no more data available which mean that the work have been processed or badly submited.

      The only drawback is invalid work manager status (displaying scheduled work) and it makes waitForCompletion always timeout (only used in test).

      Fixed inconsistency in work manager state when Redis runs out of memory. The new implementation use lua scripts to ensure atomicity and report error on OOM.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: