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

AbstractRenditionBuilderWork must use unique work id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.3
    • Fix Version/s: 9.10-HF01, 10.1
    • Component/s: Streams

      Description

      This class is used to build rendition worker and create a work id based on document id and a variant id (like user id).
      The changetoken should be used to not generate identical id for different rendition.
      (StreamWorkManager will skip duplicates work ids)


      In the case of Rendition we want to execute multiple times the exact same work because the results is in transient store.
      To handle this, the Work has a new flag isIdempotent which is true by default. So StreamWorkManager will skip duplicate only for idempotent work.
      And AbstractRenditionBuilderWork has the flag set to false.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 1 day
                  1d