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

Document ranks should not be staged for performance issues - (6.1 only)

    Details

      Description

      In 6.1 GA3, document ranks are staged. When a Site is published to live, it will export these ranks from staging to Live. If there is a sufficiently large amount, it will cause the process to never finish, or become extremely slow.

      In 6.2 the export/import/staging of ranks was removed by LPS-35873

      Steps to reproduce:
      1. Enable local live staging for a site
      2. Set log levels to INFO for "com.liferay.portal.lar"
      3. Add Recent Downloads & Documents and Media portlets to a page on the staging site
      4. Add some documents. Download some of the documents. This creates the entries in the dlfilerank table and shows the files in the recent downloads portlet
      5. Publish to live

      EXPECTED RESULT:
      Ranks should not be exported to the live site.

      ACTUAL RESULT:
      Ranks are exported to the live site.
      Notice Recent Downloads portlets on live site contains entries from staged site and in the log there will be entries similar to:

      09:47:11,386 INFO  [http-bio-8061-exec-8][PortletDataContextListenerImpl:35] Export /groups/10601/portlets/20/ranks/10837.xml
      ...
      09:47:11,861 INFO  [http-bio-8061-exec-8][PortletDataContextListenerImpl:42] Import /groups/10601/portlets/20/ranks/10837.xml
      

      Reproduced on ee-6.1.x - eaf69db5bbb93cdb6b80c891913dd51990dbf2d7

        Attachments

        1. fixed.png
          fixed.png
          81 kB
        2. reproduced.png
          reproduced.png
          85 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              bryan.engler Bryan Engler
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 33 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.X EE