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

Deliver latest lazy rendition even if stale stored rendition exists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.1, 10.2
    • Fix Version/s: 9.10-HF18, 10.3
    • Component/s: Renditions
    • Release Notes Summary:
      An up-to-date lazy rendition is always delivered and a stale rendition is never stored.
    • Tags:
    • Backlog priority:
      800
    • Sprint:
      nxfit 10.3.2, nxfit 10.3.3, nxfit 10.3.4, nxfit 10.3.5
    • Story Points:
      5

      Description

      The fix for NXP-23266 introduced the undesirable behavior described in the following unit test comment for org.nuxeo.ecm.platform.rendition.service.lazy.TestDeliverStaleLazyRenditions.testStoredLazyRenditions():

          // If a stored stale rendition exists, asking for a stored rendition will never return an up-to-date rendition
          // as shown by the previous call, so not calling checkUpToDateRendition
      

      Once an up-to-date lazy rendition has been generated, it should be returned. Currently, lazy rendition delivery is always one revision behind once a stored rendition exists. This is a Critical regression that significantly changes lazy stored rendition delivery behavior in an unexpected manner. The introduction of the "stale" marker and "stale" rendition delivery was intended to increase rendition delivery granularity, not prevent delivery of the most up-to-date lazy rendition revision.

        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 - 2 days
                  2d

                    PagerDuty

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