Description
Values are compared using CacheEntryPredicateContainsValue predicate, this predicate call F.eq(thisVal, cacheVal) to compare, which gives false for two instances of arrays with the same content.
Reproducer:
IgniteCache<Object, Object> cache = startGrid().getOrCreateCache(DEFAULT_CACHE_NAME); Object val = new byte[] {1}; cache.put(1, val); assertTrue(cache.replace(1, val, val));
Attachments
Issue Links
- is related to
-
IGNITE-12468 ClassCastException on thinClient in Apache Ignite
- Resolved
- links to