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

Don't clear entire SPI cache on rollback

    XMLWordPrintable

    Details

      Description

      Currently, when transaction rollback occurs, the entire SPI cache is cleared. This can cause performance issues if rollbacks are happening more often.

      The line responsible for clearing the entire cache: https://github.com/ezsystems/ezpublish-kernel/blob/cfe8d73146b6ab8dc3cc844ff4374ac18c31fbf1/eZ/Publish/Core/Persistence/Cache/TransactionHandler.php#L45
      Related comment: https://github.com/ezsystems/ezpublish-kernel/blob/cfe8d73146b6ab8dc3cc844ff4374ac18c31fbf1/eZ/Publish/Core/Persistence/Cache/TransactionHandler.php#L19

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: