Project

General

Profile

Actions

Bug #33622

open

Filebackend reports error when trying to rename file due to concurrent processes

Added by Peter Russ about 12 years ago. Updated over 8 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2012-02-02
Due date:
% Done:

80%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Due to concurrent processes it happens that a temp-cache-file gets renamed while an other process is just writing it.
Further there is an error in the error handling.

We fixed both.
  1. added an exclusive lock for the writing operation
  2. added counters for a break to avoid an endless loop due to file system errors
  3. added timers for getting the process to sleep
  4. fixed error handling

As this is the same in FLOW3 I also reported the bug and fixes there.
see http://forge.typo3.org/issues/33621

Please find TYPO3 specific fixes attached.


Files

33622.patch (9.34 KB) 33622.patch Peter Russ, 2012-02-02 14:31

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #46205: Cache file could not be written on concurrent actionsClosed2013-03-12

Actions
Actions

Also available in: Atom PDF