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

Need cleanup of abandoned/broken cluster data

    XMLWordPrintable

Details

    Description

      The clusterpurge script and cronjob can delete various data stored on a cluster. What it can't do is to clear up broken cluster data:

      • ezdfsfile rows for which the file has been deleted
      • files for which the ezdfsfile row has been deleted
        Both are worthless to keep around, and should be deleted.

      How they appear is unknown and may have various causes, one possibility is PHP crashes during cache building, or timeouts on file operations. However, they seem to accumulate on some sites, and should be dealt with.

      The existing "cluster_maintenance" cronjob part is a suitable place for this. EDIT: A bin/php CLI script would be better.

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: