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

remove completed jobs as soon as possible

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Events / Works
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      The canceled and completed} states are removed from the work's API. So you can't get anymore results from completed works. You should instead store results with the mean of the {{transient store.

      The previous way of querying for queue's counter has been deprecated by a the new API org.nuxeo.ecm.core.work.api.WorkManager.getMetrics(String) which provide you the constistent set of counters.

      Show
      The canceled and completed} states are removed from the work's API. So you can't get anymore results from completed works. You should instead store results with the mean of the {{transient store . The previous way of querying for queue's counter has been deprecated by a the new API org.nuxeo.ecm.core.work.api.WorkManager.getMetrics(String) which provide you the constistent set of counters.
    • Sprint:
      nxSL Sprint 8.2.1, nxSL Sprint 8.3.1
    • Story Points:
      5

      Description

      The footprint of completed jobs introduce too much memory pressure on redis. That feature is only used for debugging purpose and could be provided by debugging trace in logs instead.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: