Details
-
Improvement
-
Resolution: Unresolved
-
High
-
1.7.6, 1.12.2
-
None
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