Bug #78915

Critical performance bug in Extbase Reflection Cache in all TYPO3 versions since 6.0 (affects submits of Extbase-Forms)

Added by Juergen Kussmann almost 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Start date:
2016-12-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
critical performance bug extbase reflection cache
Complexity:
Is Regression:
No
Sprint Focus:

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


Files


Related issues

Precedes TYPO3 Core - Bug #78977: Fatal error: Failed to retrieve the reflection object in Extbase Reflection ServiceClosed2016-12-13

Actions

Also available in: Atom PDF