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

Bad performance at v6_2_0.UpgradeJournal#updateAssetEntryClassTypeId

Details

    Description

      Steps to reproduce

      1. Startup a 6.1.30
      2. Create a Journal Structure
      3. Create 1 article with 1000 versions using that structure
      4. Shutdown the server
      5. Perform the upgrade to master

      Results:
      Check for

      Completed com.liferay.portal.upgrade.v6_2_0.UpgradeJournal#updateAssetEntryClassTypeId

      in the logs. The process will take several minutes

      Expected results:
      Check for

      Completed com.liferay.portal.upgrade.v6_2_0.UpgradeJournal#updateAssetEntryClassTypeId

      in the logs. The process will take just a few seconds

      The performance is much worse with more journalArticles and a lot of versions per article.

      Attachments

        Activity

          People

            kyle.miho Kyle Miho
            alberto.chaparro Alberto Chaparro
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 48 weeks ago

              Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.0 Beta 3
                7.1.X
                Master