[
https://issues.jboss.org/browse/ISPN-10630?page=com.atlassian.jira.plugin...
]
Tristan Tarrant updated ISPN-10630:
-----------------------------------
Sprint: DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint
#37 (was: DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36)
Cluster wide cache stats do not work with exception based eviction
------------------------------------------------------------------
Key: ISPN-10630
URL:
https://issues.jboss.org/browse/ISPN-10630
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.4.16.Final
Reporter: Will Burns
Assignee: Will Burns
Priority: Major
Fix For: 10.0.0.CR3, 9.4.17.Final
Upon configuring exception eviction type then the MBean that provide cluster wide cache
stats operation does not work.
~~~
<distributed-cache name="abc" mode="SYNC"
owners="2">
<memory>
<off-heap size="1160773632" eviction="MEMORY"
strategy="EXCEPTION" address-count="1048576"/>
</memory>
<partition-handling when-split="DENY_READ_WRITES"/>
<transaction mode="NON_DURABLE_XA"/>
<state-transfer enabled="true"/>
</distributed-cache>
~~~
Below the error in the server.log.
~~~
ERROR [org.infinispan.stats.impl.ClusterCacheStatsImpl] (Thread-72) Could not execute
cluster wide cache stats operation : java.util.concurrent.CompletionException:
org.infinispan.commons.CacheException: java.lang.UnsupportedOperationException
at
java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2044)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.updateStats(ClusterCacheStatsImpl.java:116)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.fetchClusterWideStatsIfNeeded(AbstractClusterStats.java:114)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStat(AbstractClusterStats.java:207)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStatAsLong(AbstractClusterStats.java:198)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.getPassivations(ClusterCacheStatsImpl.java:397)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:400)
...
...
Caused by: org.infinispan.commons.CacheException:
java.lang.UnsupportedOperationException
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.lambda$updateStats$0(ClusterCacheStatsImpl.java:105)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$6(AllClusterExecutor.java:193)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AbstractClusterExecutor.consumeResponse(AbstractClusterExecutor.java:64)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$7(AllClusterExecutor.java:192)
at
java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
at
java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
at
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at
java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:57)
at
org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001/
~~~
--
This message was sent by Atlassian Jira
(v7.13.8#713008)