In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1231 [In-Portal CMS] Caching System bug report always 2012-03-24 15:38 2012-07-25 05:31
alex  
alex  
normal  
closed 5.2.0-B2  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-bugs/18XPYGD6RZg/discussion
Fixes parallel cache rebuild problem again
2
0001231: Bug in parallel cache rebuild protection
We've implemented parallel cache rebuild protection in 5.2.0-B1 by setting lock before creating new cache. This ensured that all other requests were receiving old cache version or just waiting for a lock to be released.


However I've found a bug in that system too, when multiple visitors, who encountered a missing/outdated cache would set lock in parallel and start rebuild process. This of course would be slightly smaller number of parallel rebuild requests then without protection added in 5.2.0-B1, but still needs to be fixed.
parent of 0001260closed  (5.2.0)alex Broken URL Caching Mechanisms with Memcache disabled 
child of 0001123closed  (5.2.0)alex Parallel cache rebuild problem could cause high server load 
patch parallel_cache_rebuild_fix.patch (24,899) 2012-03-24 15:38
http://tracker.in-portal.org/file_download.php?file_id=1564&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004956
2012-07-25 05:31 alex Status resolved => closed
2012-04-30 09:44 alex Relationship added parent of 0001260
2012-03-24 15:42 alex Changeset attached 5.2.x r15227
2012-03-24 15:41 alex Note Added: 0004507
2012-03-24 15:41 alex Status reviewed and tested => resolved
2012-03-24 15:41 alex Fixed in Version => 5.2.0-B3
2012-03-24 15:41 alex Resolution open => fixed
2012-03-24 15:41 alex Assigned To !COMMUNITY => alex
2012-03-24 15:41 alex Changeset attached 5.2.x r15226
2012-03-24 15:41 alex Note Added: 0004506
2012-03-24 15:41 alex Status needs testing => reviewed and tested
2012-03-24 15:41 alex Assigned To => !COMMUNITY
2012-03-24 15:41 alex Developer => alex
2012-03-24 15:41 alex Status active => needs testing
2012-03-24 15:40 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/18XPYGD6RZg/discussion
2012-03-24 15:38 alex Relationship added child of 0001123
2012-03-24 15:38 alex New Issue
2012-03-24 15:38 alex File Added: parallel_cache_rebuild_fix.patch
2012-03-24 15:38 alex Change Log Message => Fixes parallel cache rebuild problem again
2012-03-24 15:38 alex Estimate Points => 2

Notes
(0004506)
alex   
2012-03-24 15:41   
Will test all together later.
(0004507)
alex   
2012-03-24 15:41   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001231: Bug in parallel cache rebuild protection
(0004956)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.