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

DFS folders are not removed from filesystem

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 4.2.0, 4.3.0beta1
    • Legacy > Clustering
    • None

    Description

      Since the eZDFS handler has no knowledge of folders in the meta data table, it doesn't remove the folders when empty.

      This can be addressed in two places:

      • in the eEDFSFileHandler::purge() method. When a file is removed, check if the containing folder & parent folders are empty, and remove if they are. Since this function is not called in realtime, it won't harm performances
      • add a maintenance / one-shot script that removes them, mainly for "old" setups.

      The main danger is running out of inodes on the server.

      Attachments

        Activity

          People

            bd bd
            bd bd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: