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

There's no way to switch off only the read counter increment for the DLFileEntry objects

    Details

      Description

      The readCounter for the DLFileEntries can cause several deadlocks in the database under big load (especially when users are trying to download the same file). We have another way to track the visits: the asset view counter. As the asset view counter is much more sophisticated, we should recommend using it.

      There are two properties to control this behavior:
      1) asset.entry.increment.view.counter.enabled: we can control the asset view counter with this
      2) dl.file.entry.read.count.enabled: we can control both counters in the same time

      So there's no option to only let the asset counter switched on.

      The solution should be to only control the dl read counter with the dl.file.entry.read.count.enabled property.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              zsolt.balogh Zsolt Balogh
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 50 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2