-
Bug
-
Resolution: Fixed
-
Minor
-
3.10
-
MOODLE_310_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-70233-alternative-disabled-cache -
Internally we've rolled out a forced cache configuration via MDL-41492 but despite this we are still seeing some weirdness which smells very similar to to the root cause of MDL-51111.
Certain pages such as /admin/index.php?cache=0 set CACHE_DISABLE_ALL which means that the cache_factory_disabled() factory is used instead of the alternative class:
https://github.com/moodle/moodle/blob/master/cache/classes/factory.php#L130-L145
This means that the original sitedata/muc/config.php gets regenerated with fresh default config. This is probably not the end of the world but still causes some confusion when there is an expectation that this file should never exist anymore.
So this is more of an interface design question:
1) if you specify alternative_cache_factory_class should it completely manage all caches including those when caching is disabled and during php unit tests?
2) or should we just accept the weirdness and move on?
- has a non-specific relationship to
-
MDL-70882 Revert broken cache performance improvement
- Closed
- has been marked as being related by
-
MDL-51111 MUC config.php random reset
- Closed
-
MDL-41492 Allow alternate MUC cache config class (eg allow setup in pure $CFG / config.php)
- Closed
-
MDL-47456 DB performance issue with get_config siteidentifier
- Closed
- is a regression caused by
-
MDL-41492 Allow alternate MUC cache config class (eg allow setup in pure $CFG / config.php)
- Closed