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 #1

Updated by Peter Russ about 12 years ago

Actions #2

Updated by Marc Bastian Heinrichs about 11 years ago

Exception timestamp is 1222361632, right?. Had this already on different systems, too.

Peter, you uploaded the wrong patchfile, aren't you?

Actions #3

Updated by Max Roesch about 11 years ago

Just stumpling upon this on a TYPO3 6.0.4 installation at Hosteurope.

Core has the patch from FLOW3 but nevertheless I am running in the same error.

Actions #4

Updated by Oliver Hader almost 11 years ago

The cache file ".../t3lib_l10n/3e2cbbda0301cf592e5831ef26c56b7b" could not be written.
This issue has been solved on concurrent editing actions in the backend for 4.7, 6.0 and 6.1 in issue #46205
However, that does not solve the original issue in the FileBackend that probably needs to be solved by locking mechanisms

Actions #5

Updated by Mathias Schreiber about 9 years ago

  • Target version changed from 4.5.12 to 7.3 (Packages)
  • Is Regression set to No
Actions #6

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.3 (Packages) to 7.4 (Backend)
Actions #7

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #8

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #9

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions

Also available in: Atom PDF