[TYPO3-core] RFC #16749
Bjoern Pedersen
bjoern.pedersen at frm2.tum.de
Thu Dec 16 09:11:08 CET 2010
Hi,
This is a SVN patch request.
Type: Bugfix
BT reference: http://bugs.typo3.org/view.php?id=16749
Branches:trunk
Problem:The problem of already deleted lock files still exists.
* Solution : Add a "static" lock class and implement a lockFile-Lock.
Another problem was, that locks that never were acquired were never
released properly:
The early return in release returned wrongly
Soulution:
* add a destruct member and use it as second flag for the early return
How to test:
The error happens normaly when accesing a page very often directly
after cache clearing. As it is a race condition it is not really
"reproducible".
Note: The attached patch probably still needs some cleanup:
* naming of the new classes?
* where to store the global lock instance (Just a var in $Globals or
maybe in $globals['TSFE'] or ... ??
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16749_v1.patch
Type: text/x-patch
Size: 12422 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101216/d813a79d/attachment-0001.bin>
More information about the TYPO3-team-core
mailing list