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

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

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: High High
    • Customer request
    • None
    • None
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joaquim.cavalleri-obsolete@ez.no Joaquim Cavalleri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: