[
https://issues.jboss.org/browse/ISPN-10059?page=com.atlassian.jira.plugin...
]
Dan Berindei commented on ISPN-10059:
-------------------------------------
Initial exception is
{noformat}
23:39:20,488 DEBUG (testng-Test:[]) [LocalTopologyManagerImpl] Error sending join request
for cache ___defaultcache to coordinator
java.lang.UnsupportedOperationException: Container is not segmented
at
org.infinispan.container.offheap.OffHeapDataContainer.addSegments(OffHeapDataContainer.java:113)
~[classes/:?]
at
org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:294)
~[classes/:?]
at
org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:200)
~[classes/:?]
at
org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:57)
~[classes/:?]
at
org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:113)
~[classes/:?]
at
org.infinispan.topology.LocalTopologyManagerImpl.doHandleTopologyUpdate(LocalTopologyManagerImpl.java:353)
~[classes/:?]
at
org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:157)
~[classes/:?]
at
org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:110)
~[classes/:?]
{noformat}
But because it was thrown after installing the topology locally, the repeated exception
is
{noformat}
23:39:20,589 DEBUG (testng-Test:[]) [LocalTopologyManagerImpl] Error sending join request
for cache ___defaultcache to coordinator
java.lang.IllegalStateException: We already had a newer topology by the time we received
the join response
at
org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:160)
~[classes/:?]
at
org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:110)
~[classes/:?]
at jdk.internal.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) ~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at
org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
~[infinispan-commons-9.4.9.ER3-redhat-00001.jar:9.4.9.ER3-redhat-00001]
at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
[infinispan-commons-9.4.9.ER3-redhat-00001.jar:9.4.9.ER3-redhat-00001]
at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
[infinispan-commons-9.4.9.ER3-redhat-00001.jar:9.4.9.ER3-redhat-00001]
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:181)
[infinispan-commons-9.4.9.ER3-redhat-00001.jar:9.4.9.ER3-redhat-00001]
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:527)
[classes/:?]
at
org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:714)
[classes/:?]
at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:421)
[classes/:?]
at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:325)
[classes/:?]
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:165)
[classes/:?]
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1110) [classes/:?]
at
org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:511)
[classes/:?]
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:656)
[classes/:?]
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:601)
[classes/:?]
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:484)
[classes/:?]
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437)
[classes/:?]
at
org.infinispan.test.MultipleCacheManagersTest.getCaches(MultipleCacheManagersTest.java:291)
[test-classes/:?]
at
org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:300)
[test-classes/:?]
at
org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:309)
[test-classes/:?]
at
org.infinispan.eviction.impl.ExceptionEvictionTest.createCacheManagers(ExceptionEvictionTest.java:183)
[test-classes/:?]
at
org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:121)
[test-classes/:?]
at
org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:115)
[test-classes/:?]
{noformat}
Clustered cache cannot start with exception eviction and segmentation
disabled
------------------------------------------------------------------------------
Key: ISPN-10059
URL:
https://issues.jboss.org/browse/ISPN-10059
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.0.0.Beta2, 9.4.10.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Blocker
Labels: testsuite_stability
Fix For: 10.0.0.Beta3, 9.4.11.Final
With segmentation disabled and exception eviction is enabled, {{DataContainerFactory}}
creates an instance of {{OffHeapDataContainer}}. Because the cache is clustered and
{{OffHeapDataContainer}} implements {{InternalDataContainer}}, {{addSegments()}} will be
invoked during startup and will throw {{UnsupportedOperationException}}.
{{LocalTopologyManagerImpl}} sees this as a join problem and retries every 100ms until
the state transfer timeout expires (4 minutes by default). However,
{{ExceptionEvictionTest}} seems to retry forever when running the full test suite,
preventing the generation of any test reports.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)