Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.13.2
-
None
-
None
-
Karaf 3.0.1, CentOS 6
-
Unknown
Description
Sending a CamelCacheOperation of CamelCacheDeleteAll doesn't actually delete anything from the cache. It might be clearing out the in-memory cache, but anything that's persisted to disk won't be cleared. This causes immense problems anytime a stray class gets serialized that had its serialization format updated. Constant exceptions from attempting to get items from the cache is not what should be happening here.
If I delete the cache file EHCache is using, that obviously does nothing as it still has a file handle on it and will continue using it unless I completely restart Karaf.