Bug #69055
closedLocking: File change times are cached
0%
Description
Here the change time of a locking file is determined:
But according to the PHP manual those times get cached by PHP:
http://php.net/manual/en/function.filectime.php
Note: The results of this function are cached. See clearstatcache() for more details.
Maybe "clearstatcache()" should get called before determining if to unlink() the cache file.
Updated by Alexander Opitz about 9 years ago
- Target version changed from 6.2.15 to 6.2.16
Updated by Riccardo De Contardi over 8 years ago
- Target version changed from 6.2.16 to Candidate for patchlevel
in 8.1.1-dev the file typo3/sysext/core/Classes/Locking/SimpleLockStrategy.php
contains the same function filectime
Updated by Frank Nägler over 8 years ago
- Status changed from New to Accepted
- Assignee set to Frank Nägler
Updated by Frank Nägler over 8 years ago
- Status changed from Accepted to In Progress
Updated by Gerrit Code Review over 8 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48402
Updated by Frank Nägler over 8 years ago
- Status changed from Under Review to Needs Feedback
after some discussions, we have one question: Is this a real issue or a theoretical issue?
Updated by Frank Nägler about 8 years ago
- Status changed from Needs Feedback to Rejected
no feedback since 3 month, issue will be closed for the time being. feel free to reopen or create a new issue.
Updated by Bernhard Kraft about 8 years ago
What kind of feedback would you expect? The issue occured at an installation I worked on. After adding the clearstatcache() it worked again. Of course the issue may have been caused by the NFS setup on the servers ... but after all it wouldn't be a mistake to add the "clearstatcache()".