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

processCache: eZClusterFileHandler::cleanupEmptyDirectories() is called too often

    Details

    • Type: Improvement Improvement
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Customer request
    • Component/s: None
    • Labels:
      None
    • Environment:

      eZPublish 4.x (with cluster)

      Description

      Currently eZClusterFileHandler::cleanupEmptyDirectories() is being called every time a file is deleted.
      Although the operation itself doesn't take too long to execute, the frequency with which this method is invoked is somewhat excessive.

      Often happens that a file is removed and a new one is recreated in the very same place (cache or image alias regeneration, for instance).

      If it is not viable to split between file deletions that require cleanupEmptyDirectories and those that do not, it might be possible to defer the actual removal operation to a cronjob.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Joaquim Cavalleri (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: