#103294Race condition in DI cache persistence
Description
With #90418 the container cache has been excluded from the
regular cache-flush-pipeline.
Therefore flushing has been explicitly performed when writing a
new cache entry (with the intent to clean up old cache entries).
Issue is: Cleaning up the entire folder by deleting the folder means
a concurrent request – that is creating the same DI cache as well –
will fail to write the cache when the folder is (re)moved in that
moment.
In SimpleFileBackend.php line 232: The temporary cache file "/var/www/html/typo3temp/var/cache/code/di/65e832cba8809119262340.temp" could not be written.
Reviews 5
- 12.4 83454[BUGFIX] Recalculate context-menu position after data population
- main 83450[BUGFIX] Recalculate context-menu position after data population
- 11.5 83361[BUGFIX] Avoid race condition in DI cache persistence
- 12.4 83261[BUGFIX] Avoid race condition in DI cache persistence
- main 83228[BUGFIX] Avoid race condition in DI cache persistence