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

Stash Cache using filesystem adapter does not handle concurrent clearing

    Details

    • Type: Bug Bug
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 1.13.2, 1.7.8
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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.

        Activity

        Marek Nocoń created issue -
        Marek Nocoń made changes -
        Field Original Value New Value
        Description When trying to perform concurrent operations that clear the cache at the same time errors occur, for example:

        {code}
        :"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"}}
        {code}

        {code}
        "FilesystemIterator::__construct(/home/vagrant/platform_clean_ftr/app/cache/prod/http_cache/ezlocation_stale): failed to open dir: No such file or directory"
        {code}

        *Steps to reproduce:**
        1. Execute Steps to reproduce from EZP-29206
        When running the script the cache issues should happen.
        When trying to perform concurrent operations that clear the cache at the same time errors occur, for example:

        {code}
        :"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"}}
        {code}

        {code}
        "FilesystemIterator::__construct(/home/vagrant/platform_clean_ftr/app/cache/prod/http_cache/ezlocation_stale): failed to open dir: No such file or directory"
        {code}

        *Steps to reproduce:**
        1. Execute Steps to reproduce from EZP-29206
        When running the script the cache issues are happening.
        Andrzej Longosz made changes -
        Component/s Platform > Persistence > Cache [ 13342 ]
        Andrzej Longosz made changes -
        Summary Filesystem Cache does not handle concurrent clearing Stash Cache using Filesystem adapter does not handle concurrent clearing
        Andrzej Longosz made changes -
        Status Open [ 1 ] Confirmed [ 10037 ]
        Andrzej Longosz made changes -
        Summary Stash Cache using Filesystem adapter does not handle concurrent clearing Stash Cache using filesystem adapter does not handle concurrent clearing
        Marek Nocoń made changes -
        Affects Version/s 1.13.2 [ 14930 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Marek Nocoń
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: