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

Fix work manager cleanup timeout on Redis

    XMLWordPrintable

    Details

      Description

      When cleaning up completed jobs on Redis, the process may timeout because of the large number of completed works. The bulk of the clearing work should be implemented using a Lua script which will reduce the time spent in the process and allow batching.

      One key use case to keep in mind is that we may want to associate the work with an external transient storage mechanism (NXP-16943), which has to be cleaned at the same time, so not everything can be done in Lua, at some point it will need to return the ids of works cleaned so that the Java code can do more work with these ids.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.