Details
-
Bug
-
Resolution: Unresolved
-
Major
-
12.1.3.Final
-
None
-
Undefined
Description
CacheContainerAdmin.removeCache() doesn't say anything about its behaviour when the cache was not created with CacheContainerAdmin.createCache().
The current implementation removes the cache only on the local node.
OTOH the javadoc of DefaultCacheManager.removeCache() says it always removes the cache cluster-wide, and the implementation just delegates to CacheContainerAdmin.removeCache().
We should change the documentation (and maybe the implementation) to make it clear to users when they should expect the cache to be removed on all the nodes and when they should expect it to be removed on only one node.