In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001231 [In-Portal CMS] Caching System bug report always 2012-03-24 15:38 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B3
Status closed Product Version 5.2.0-B2 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001231: Bug in parallel cache rebuild protection
Description 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.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/18XPYGD6RZg/discussion
Change Log Message Fixes parallel cache rebuild problem again
Estimate Points 2
Attached Files patch file icon parallel_cache_rebuild_fix.patch [^] (24,899 bytes) 2012-03-24 15:38 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
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 

-  Notes
User avatar (0004506)
alex (manager)
2012-03-24 15:41

Will test all together later.
User avatar (0004507)
alex (manager)
2012-03-24 15:41

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001231: Bug in parallel cache rebuild protection
User avatar (0004956)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15227
Timestamp: 2012-03-24 15:42:58
Author: alex
Details ] Diff ]
Bug 0001231: Bug in parallel cache rebuild protection
mod - /in-portal/branches/5.2.x/core/kernel/application.php Diff ] File ]
In-Portal CMS: 5.2.x r15226
Timestamp: 2012-03-24 15:41:41
Author: alex
Details ] Diff ]
Fixes 0001231: Bug in parallel cache rebuild protection
mod - /in-portal/branches/5.2.x/core/kernel/managers/cache_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/cache.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/unit_config_reader.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/category_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/menu_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/sections_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/site_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker