Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0
-
Fix Version/s: 4.4.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
This revision implemented multi-tier caching (with memcache or arraycache in front of SQL cache)
https://github.com/civicrm/civicrm-core/pull/336
Which caused these tests to regress:
api_v3_SettingTest.testGetFieldsCaching
api_v3_SystemTest.testFlush
CRM_Utils_Cache_SqlGroupTest.testPrefetch
It seems reasonable that the 'flush' operation fails – in normal deployment, there are now additional copies of the data stored in memory (in local-static variables for CRM_Core_BAO_Cache::
{get,set}Item
{s}and in the singleton instance of CRM_Utils_Cache_ArrayCache). These structures don't appear to be flushed. However, there seems to be more to it: after various attempts at flushing those caches (crm-12321-attempt
{1,2}.patch and a few other formulations), we still don't have a fix for SystemTest.testFlush().
Attachments
Issue Links
- blocks
-
CRM-12293 CiviCRM memcache improvements
- Done/Fixed