Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2373

State transfer does not end because some segments are erroneously reported as unreceived

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 5.2.0.Final
    • 5.2.0.Final
    • State Transfer
    • None

      Hard to reproduce. I lost the last log where this was visible but still have a stack trace:

      org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
      at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:879)
      at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:650)
      at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:639)
      at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:542)
      at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:197)
      at org.infinispan.CacheImpl.start(CacheImpl.java:517)
      at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:689)
      at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:652)
      at org.infinispan.manager.DefaultCacheManager.access$100(DefaultCacheManager.java:126)
      at org.infinispan.manager.DefaultCacheManager$1.run(DefaultCacheManager.java:574)
      Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache LuceneIndexesMetadata on PersistentStateTransferQueryDistributedIndexTest-NodeC-6067
      at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:199)
      at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      ... 10 more

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: