Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19660

viewcache is cleared/refreshed before content publish operation is finished

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 5.1
    • None
    • Caching
    • eZ Publish 4.5, eZ DFS

    Description

      On a busy site, publishing a content object can lead to the viewcache being cleared and regenerated, with the stale content, before the full publish operation is completed.

      Some Notes:

      • The whole publishing operation is wrapped in a DB transaction.
      • eZ DFS operations (cache clear) are immediate (separate transactions).
      Steps to reproduce

      Steps to reproduce, on eZ DFS:

      • use apache benchmark to request an article on the public site - for example:
        ab -c 2 -n 10000 http://localhost/public_site/link/to/article
        
      • while the "stress test" is running, go to the admin UI and update/publish the article.
      • stop the "stress test" and check the article on the public site

      Result:

      • The changes to the article won't be visible (instead, the previous version is cached).
      • Different siteaccesses my display the updated content correctly, if cache hasn't been generated yet.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ji@ez.no ji@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 15 minutes
                7h 15m