#78915Critical performance bug in Extbase Reflection Cache in all TYPO3 versions since 6.0 (affects submits of Extbase-Forms)
Description
Hi,
we at AOE.com have found a critical performance-bug in Extbase-Reflection-Cache in all TYPO3-versions since 6.0.
The bug is:
The cached data of Extbase-Reflection-Cache (in DB-table cf_extbase_reflection) will not be stored completly/correct in cache-record. The data/part of property ‘methodReflections’ is NOT stored in the cache. The result is, that the Extbase-Reflection-Cache will be deleted/inserted each time, when the Extbase-Reflection will be used. This caused a major problem in one of our big TYPO3-installations (the DB-server crashed).
Our bugfix (see attachment) is very simple and should be used to patch all TYPO3-versions since 6.0.
Best regards,
Jürgen Kußmann
——————————————————————————————
German description of the bug:
Problem ist der Extbase-Reflection-Cache (in DB-Tabelle cf_extbase_reflection), welcher pro Extbase-basierter Extension ein Datensatz anlegt mit allen möglichen Informationen zu den PHP-Klassen, welche sich in einer Extension befinden. Dieser Reflection-Cache wird bei JEDEM Seitenaufruf (wo ein extbase-plugin verwendet wird) gelöscht und neu geschrieben. Grund dafür war, dass der Teil des Caches nicht korrekt in die DB gespeichert wurde, TYPO3 daher diesen „Teil des Caches“ immer wieder neu erstellt hat.
Viele Grüße,
Jürgen Kußmann
Reviews 6
- TYPO3_6-2 50984[BUGFIX] Optimize cache handling in ReflectionService
- TYPO3_7-6 50980[BUGFIX] Optimize cache handling in ReflectionService
- main 50953[BUGFIX] Optimize cache handling in ReflectionService
- main 50913[BUGFIX] Reflection Cache does not save methodReflections
- TYPO3_6-2 50930[BUGFIX] Reflection Cache does not save methodReflections
- TYPO3_7-6 50929[BUGFIX] Reflection Cache does not save methodReflections