Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
When the lock file gets deleted while ezcCacheStorageFile::lock() waits for the lock, a E_WARNING error gets throwed because it tries to use filemtime() on the lock file (that doesn't exist anymore) to check if the lock is dead.
We either need a file_exists() check before calling filemtime() or a shut-up operator infront of the filemtime() and unlink() calls. Environment: Operating System: Steps to Reproduce: Execute attached test case in two shells in parallel. The process that get started later throws the error. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||