Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-425

ISPN fails to recover cluster in library mode on EAP 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • JDG 7.0.0 ER6
    • Core
    • None

      In library mode in EAP 6 (no matter if ISPN is bundeled in app or deployed as JBoss modules), test which at the beginning of the test creates a 2 node cluster fails to recover the cluster after second node joins. It fails with timeout, with following exception:

      WARN  [org.infinispan.topology.CacheTopologyControlCommand] (http-/127.0.0.1:8080-2) ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=CDI_DistExec_CacheName, type=JOIN, sender
      =node1-34335, joinInfo=CacheJoinInfo{consistentHashFactory=org.infinispan.distribution.ch.impl.SyncConsistentHashFactory@ffffd8e9, hashFunction=MurmurHash3, numSegments=256, numOwners=2, timeout=240000, totalOrder=false, distributed=true
      , persistentUUID=4f8b7517-0d5a-4b3f-8675-252985246b7e, persistentStateChecksum=Optional.empty}, topologyId=0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=0}: org.infini
      span.util.concurrent.TimeoutException: ISPN000402: Timeout waiting for view 0. Current view is 0, current status is RECOVERING_CLUSTER
              at org.infinispan.topology.ClusterTopologyManagerImpl.waitForJoinerView(ClusterTopologyManagerImpl.java:543) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.topology.ClusterTopologyManagerImpl.handleJoin(ClusterTopologyManagerImpl.java:211) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:179) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.topology.CacheTopologyControlCommand.perform(CacheTopologyControlCommand.java:161) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:646) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:144) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:122) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_45]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_45]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_45]
              at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_45]
              at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:864) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:633) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:622) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:547) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:238) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:890) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:636) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:586) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:451) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437) [infinispan-embedded.jar:8.3.0.ER6-redhat-1]
              at org.infinispan.cdi.test.distexec.DistributedCDIExecutorIT.configureNode1Cache(DistributedCDIExecutorIT.java:84) [classes:]
      

      I wasn't able to get more info by enabling trace logging, as it also fails on EAP 6, see JDG-424.

      On EAP 7 test passes.

              dberinde@redhat.com Dan Berindei (Inactive)
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: