-
Bug
-
Resolution: Fixed
-
Minor
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-53967-master -
- Enable the Memcached cache store on the latest 3.1
- Purge all caches
- See result
- Apply patch
- Try again, no debug messages!
getAllKeys can return false when the operation fails.
The new Memcached purge has the result of the function in a foreach loop without checking the value is not false.
In practise this means during upgrades or when you hit "purge all cache" you get spammed with:
Warning: Invalid argument supplied for foreach() in <blah>/cache/stores/memcached/lib.php on line 513
- caused a regression
-
MDL-56675 memcached getAllKeys broken from memcached version 1.4.23
- Closed
- has been marked as being related by
-
MDL-60037 cachestore_memcached_test::test_multi_use_compatibility is failing again with memcached 1.5.0
- Closed
- is a regression caused by
-
MDL-48506 Improve memcached cache store so that it is multi-site safe
- Closed