kohana/cache — pull request #15 by d4rky-pl (2011-10-10 16:38:55+00:00)
Title: 3.2/bug/4303/cache file racing condition

I'm using assets with path caching on my server. Because it goes through localhost, all requests are done almost simultaneously. This can lead to the racing condition where one request is asking for the cache file which the other request is currently saving. This leads to Kohana_Cache_File::get corrupted cache file exception because get() loads empty cache file (just created, not yet filled with data).