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

Improve query efficiency in case of deep collection copy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 7.10-HF16, 8.3
    • Fix Version/s: None
    • Component/s: Collections
    • Tags:
    • Sprint:
      nxGang Sprint 8.4.6
    • Story Points:
      2

      Description

      NXP-20396 introduced https://github.com/nuxeo/nuxeo/blob/master/nuxeo-features/nuxeo-platform-collections/nuxeo-platform-collections-core/src/main/java/org/nuxeo/ecm/collections/core/listener/DuplicatedCollectionListener.java#L116

      SELECT * FROM Document WHERE ecm:mixinType = 'CollectionMember'
      

      which won't scale since CollectionMember is a dynamically added facet.

      We need something like:

      SELECT * FROM Document WHERE collectionMember:collectionIds/* IS NOT NULL
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grenard Guillaume Renard
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

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