[JBoss JIRA] (ISPN-7625) Make sure to report NoClassDefFoundError rather than hiding them as a ClassNotFoundException
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-7625:
-------------------------------------
Summary: Make sure to report NoClassDefFoundError rather than hiding them as a ClassNotFoundException
Key: ISPN-7625
URL: https://issues.jboss.org/browse/ISPN-7625
Project: Infinispan
Issue Type: Enhancement
Components: Core
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Fix For: 9.0.0.Final, 8.2.7.Final
I was having a {{NoClassDefFoundError}} caused by a module misconfiguration, but it turned out very complex to figure out as the only exception reported by Infinispan was about a misleading {{ClassNotFoundException}}.
I'm fixing the common classloading utility to make sure to log the errors appropriately.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (ISPN-7624) Change CacheLoaderInterceptor to ignore in memory for certain operations when passivation is not enabled
by William Burns (JIRA)
William Burns created ISPN-7624:
-----------------------------------
Summary: Change CacheLoaderInterceptor to ignore in memory for certain operations when passivation is not enabled
Key: ISPN-7624
URL: https://issues.jboss.org/browse/ISPN-7624
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Reporter: William Burns
Assignee: William Burns
Fix For: 9.1.0.Final
CacheLoader currently reads all in memory entries and then the store for bulk operations. This can be changed to only load from the store when passivation is not used as it should contain all entries that aren't in memory.
The only issue is that if Flag.SKIP_CACHE_STORE was used on a write. In this case we could store a boolean in the interceptor so that if this Flag is ever used we always do both. Very few users use this Flag and it should improve performance a bit and entries should be seen more consistently.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months