Project

General

Profile

Actions

Bug #77204

closed

Typo3DatabaseBackend flushByTag() and collectGarbage()

Added by Christian Kuhn almost 8 years ago. Updated over 5 years ago.

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #77160: Doctrine: migrate ext:core cache Typo3DatabaseBackendClosed2016-07-20

Actions
Related to TYPO3 Core - Bug #61814: Caching framework garbage collection scheduler task taking ages with database backend and large websitesClosed2014-09-23

Actions
Related to TYPO3 Core - Bug #21309: Move t3lib_matchCondition::whichDevice() to t3lib_utility_Client::getDeviceType()ClosedOliver Hader2009-10-19

Actions
Actions

Also available in: Atom PDF