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

Fix non-idempotent Work

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Non idempotent work are marked as such.
    • Backlog priority:
      1,000
    • Sprint:
      nxplatform 11.1.16
    • Story Points:
      2

      Description

      2 idempotent Works with the same identifier are expected to be identical,
      by default, Works are idempotent because they use a random identifier.

      Most of the Work implementation that set an explicit identifier have been checked but a few remains in addons modules:

      • PictureViewsGenerationWork (fixed in NXP-27761),
      • BinaryMetadataWork -> the work id is based on document id
      • ThreeDBatchUpdateWork -> 3d addon
      • ExtractXmlAttributesWorker -> only used by API doc
        ... (check any Work that defines an identifier without overriding isIdempotent)

      Fix either by using a proper identifier either by marking non-idempotent.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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
                4h

                  PagerDuty

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