Actions
Bug #77204
closedTypo3DatabaseBackend flushByTag() and collectGarbage()
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2016-07-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:
Description
The 7.6 and 6.2 implementation of Typo3DatabaseBackend cache backend has bugs in two methods (in mysql-non-dbal versions). Those were introduced by #61814 and fixed in master with #77160
flushByTag() leaves orphaned tags in tags table - if a row has two tags and flushByTag() is executed on one tag, the other is left.
collectGargabe() does not find orphaned tags
collectGarbage() does not delete an expired cache row if it has no tags (fix: left outer join)
Task is to migrate the functional tests from master over to 7.6 (and 6.2?) - those will show the issues.
Actions