Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-71408

Poor performance in DLServiceVerifyProcess.updateFileEntryAssets when there are a large number of DLFileEntries without Assets

    Details

      Description

      The DLServiceVerifyProcess.updateFileEntryAssets method attempts to fetch every DLFileEntry without a corresponding entry in the AssetEntry table into a list, and then perform some operations on them. For users with large databases upgrading from 6.1, this can cause performance problems and potentially an OutOfMemory error as it tries to create a List of potentially millions of DLFileEntries. We should use an ActionableDynamicQuery instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raven.song Raven Song
              Reporter:
              michael.bowerman Michael Bowerman (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 31 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP13
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master