-
Type: Bug Report
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2-B3
-
Component/s: Url Processing
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:Fixes inability to access website's Front-End, when data is changed in parallel in the Admin Console.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
- add "adm:OnPopulateUrlUnitCacheScheduledTask" event, that would: - 0.5h
-
- be a scheduled task, that runs once per hour
- get values from "Prefixes" column of "CachedUrls" table of each database table record:
- parse it's value (see "\kRewriteUrlProcessor::_setCachedUrl") to get unit config prefixes (ids doesn't matter)
- collect list of unique unit config prefixes
- store collected prefixes (even if it's an empty array) in "cached_urls_unit_prefixes" memcache key with 1 hour expiration
- in the "\kCacheManager::incrementCacheSerial" method: - 0.5h
-
- get value of "cached_urls_unit_prefixes" memcache key
- if it's empty (either key is missing or an empty array is received), then consider it as array of commonly used unit config prefixes (e.g. "c", "lang", "theme", etc.)
- if value of "$prefix" method parameter isn't within above retrieved/build array, then don't delete record from "CachedUrls" table
Quote: 1h*1.4 = 1.5h
- is duplicated by
-
INP-1759 Use delayed cached Mod-Rewrite URL invalidation
- Closed
- implemented in
-
[Diffusion] rINP16664 Fixes INP-1760 - Don't attempt to change "CachedUrls" table for units, that are…
-
D356 INP-1760 Don't attempt to change "CachedUrls" table for units, that are not used in Mod-Rewrite URLs
- mentioned in
-
Page Loading...