-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.5.1
We recently faced an error during unserialisation of a .cache file (only as admin) in MDLSITE-2373. This may have been due to the file being incompletely replicated (and hence corrupt). The issue was that @unserialise() was failing at several byte lengths. This cause an exception to be thrown which wasn't handled anywhere up the chain really.
several ideas were:
1) verify cache file integrity, perhaps a message digest but this could be too much overhead for a caching system.
2) change throwing exception to debugging message instead - doesn't solve but avoid unnecessary fatalism error to user.
3) handle the exceptions in the loaders
a patch is linked to for (2).
- has a non-specific relationship to
-
MDLSITE-2373 Determine best configuration of MUC for Learn Moodle
-
- Closed
-
- has been marked as being related by
-
MDL-42673 Cache issue? Server freezes + Failed to unserialise data from file
-
- Closed
-
- will be (partly) resolved by
-
MDL-41291 don't use filesize when reading from cache_filestore
-
- Closed
-