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

Stash Cache using filesystem adapter does not handle concurrent clearing

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 1.13.2, 1.7.8
    • None
    • eZ Platform using Filesystem cache (the default one).

    Description

      When trying to perform concurrent operations that clear the cache at the same time errors occur, for example:

      :"Internal Server Error","errorDescription":"RecursiveDirectoryIterator::__construct(/home/vagrant/platform_clean_ftr/app/cache/prod/stash/0fea6a13c52b4d47/25368f24b045ca84/c21f969b5f03d33d/43e04f8f136e7682/4a1c6be177996f9e/03934ae1c1c02ffc/9a0364b9e99bb480/dd25e1f0284c8555/caf9b6b99962bf5c/2264824231d7a40c/aab3238922bcc25a): failed to open dir: No such file or directory"}}
      
      "FilesystemIterator::__construct(/home/vagrant/platform_clean_ftr/app/cache/prod/http_cache/ezlocation_stale): failed to open dir: No such file or directory"
      

      Steps to reproduce:*
      1. Execute Steps to reproduce from EZP-29206
      When running the script the cache issues are happening.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: