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

Implement proper purging of cluster files

    XMLWordPrintable

Details

    Description

      As explained in issue #12779, there currently is no real, easy way to remove expired items from the cluster (eZDB or eZDFS) databases.

      You can currently only use ezcache.php with the --purge option, but this also requires that you specify at least one of expiry, tag or id. Expiry here won't use the expired status from the cluster tables, but will purge items if their mtime falls into the expiry range.

      What we need is two scripts:

      • a cronjob that purges files with an expired=1 field from the cluster
      • a cronjob that purges LOCAL cache files that are NOT on the cluster DB (after they've been purged using the cronjob above). It will have to be configured on EACH webserver using the cluster.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: