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

Add MongoDB index for rend:sourceId and rend:sourceVersionableId

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Core MongoDB, Renditions

      Description

      The metadata rend:sourceId is used by a default Nuxeo query run by the Rendition service to clean up stored renditions via the listener storedRenditionsCleanup

      https://github.com/nuxeo/nuxeo/blob/master/nuxeo-features/nuxeo-platform-rendition/nuxeo-platform-rendition-core/src/main/java/org/nuxeo/ecm/platform/rendition/service/RenditionServiceImpl.java#L472

      To improve the performance of this query, it would be interesting to add an index on this metadata.

      Similarly, rend:sourceVersionableId is used for various requests and should be indexed too.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 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 - 20 minutes
                  20m

                    PagerDuty

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