-
Bug
-
Resolution: Done
-
Critical
-
7.0.0.Alpha5
-
None
cache.replace(key, oldValue, newValue) compares the current value in the cache to oldValue, and if they differ it turns into a no-op.
However, CacheLoaderInterceptor does not load entries for a ReplaceCommand.
If the entry only exists in the loader and not in memory, this causes the replace to fail.
CacheLoaderInterceptor must always load the value for a ReplaceCommand.