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

After a crash, the "running" worker lists are not cleaned when using Redis

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0, 7.10, 8.10
    • Fix Version/s: 10.3
    • Component/s: Events / Works, Redis

      Description

      When the workmanager uses Redis, stopping brutally a Nuxeo instance while there are running jobs will not clean the work status stored in Redis.

      As a result when restarting the Nuxeo instance the old workers are listed as running.

      If these jobs are ElasticsearchIndexing work this will mess up the Elasticsearch indexing status on the Admin center.
      It will also mess up the waitForCompletion method that count scheduled and running jobs.

      A workaround is to flush the Redis database when the cluster is down.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 10 minutes
                4h 10m