Bug #63683

Story #63720: Make class loader more robust against crashes.

ClassLoader: Stalled Lock file if ClassLoader caching fails.

Added by Alexander Opitz 8 months ago. Updated 7 months ago.

Status:Resolved Start date:2014-12-08
Priority:Should have Due date:
Assigned To:Alexander Opitz % Done:

100%

Category:Caching Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

In #61900 we fixed the first part, clearing cache and lock file if an exception is thrown while class cache is build.

Now we need this also for hard errors like fatals, for this we need to register our own shutdown_function like done in AbstractService.


Related issues

related to Core - Bug #61900: ClassLoader: Stalled Lock file if ClassLoader caching fails. Resolved 2014-09-26

Associated revisions

Revision a74f8862
Added by Alexander Opitz 7 months ago

[TASK] Add shutdown function while class cache build

With shutdown function we can check if PHP is shutdown while
cache generation, so we can remove leftovers from this process.

Resolves: #63683
Releases: master, 6.2
Change-Id: I4038c10c50287ec4cceca1c0e5a73c954f2d8c1d
Reviewed-on: http://review.typo3.org/35167
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision 28c3aedc
Added by Alexander Opitz 7 months ago

[TASK] Add shutdown function while class cache build

With shutdown function we can check if PHP is shutdown while
cache generation, so we can remove leftovers from this process.

Resolves: #63683
Releases: master, 6.2
Change-Id: I4038c10c50287ec4cceca1c0e5a73c954f2d8c1d
Reviewed-on: http://review.typo3.org/36114
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Gerrit Code Review 8 months ago

  • Status changed from New 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 http://review.typo3.org/35167

#2 Updated by Gerrit Code Review 8 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35167

#3 Updated by Alexander Opitz 8 months ago

  • Parent task set to #63720

#4 Updated by Alexander Opitz 8 months ago

  • Assigned To set to Alexander Opitz

#5 Updated by Gerrit Code Review 8 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35167

#6 Updated by Gerrit Code Review 8 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35167

#7 Updated by Gerrit Code Review 7 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35167

#8 Updated by Gerrit Code Review 7 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35167

#9 Updated by Gerrit Code Review 7 months ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36114

#10 Updated by Alexander Opitz 7 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF