[ https://issues.apache.org/jira/browse/IGNITE-12651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034354#comment-17034354 ]
Ignite TC Bot commented on IGNITE-12651: ---------------------------------------- {panel:title=Branch: [pull/7397/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5037062&buildTypeId=IgniteTests24Java8_RunAll] > Non-comparable keys for eviction policy cause failure handle and node shutdown > ------------------------------------------------------------------------------ > > Key: IGNITE-12651 > URL: https://issues.apache.org/jira/browse/IGNITE-12651 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.8 > Reporter: Vyacheslav Koptilin > Assignee: Vyacheslav Koptilin > Priority: Major > Fix For: 2.9 > > Time Spent: 10m > Remaining Estimate: 0h > > Non-comparable keys in the same cache (for instance, Integer and Double) and > eviction policy enabled results in node failure with the following exception: > {code:java} > java.lang.ClassCastException: java.lang.Integer cannot be cast to > java.lang.Doublejava.lang.ClassCastException: java.lang.Integer cannot be > cast to java.lang.Double at java.lang.Double.compareTo(Double.java:49) at > org.apache.ignite.cache.eviction.sorted.SortedEvictionPolicy$DefaultHolderComparator.compare(SortedEvictionPolicy.java:360) > at > org.apache.ignite.cache.eviction.sorted.SortedEvictionPolicy$DefaultHolderComparator.compare(SortedEvictionPolicy.java:348) > at > java.util.concurrent.ConcurrentSkipListMap.cpr(ConcurrentSkipListMap.java:655) > at > java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:835) > at > java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1962) > at > org.apache.ignite.internal.util.GridConcurrentSkipListSet.add(GridConcurrentSkipListSet.java:143) > at > org.apache.ignite.cache.eviction.sorted.SortedEvictionPolicy$GridConcurrentSkipListSetEx.add(SortedEvictionPolicy.java:398) > at > org.apache.ignite.cache.eviction.sorted.SortedEvictionPolicy.touch(SortedEvictionPolicy.java:176) > at > org.apache.ignite.cache.eviction.AbstractEvictionPolicy.onEntryAccessed(AbstractEvictionPolicy.java:88) > at > org.apache.ignite.internal.processors.cache.GridCacheEvictionManager.notifyPolicy(GridCacheEvictionManager.java:321) > at > org.apache.ignite.internal.processors.cache.GridCacheEvictionManager.touch(GridCacheEvictionManager.java:199) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)