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

Cluster fails to startup due to initial state transfer timing out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 10.1.1.Final
    • Core
    • None
    • Hide

      Reproducing this requires two nodes, node A and node B with zeroCapacityNode set to true. Once node A and B are clustered, node A will hang on restart ( invoking org.infinispan.manager.DefaultCacheManager#getCache(java.lang.String) will result in a initial state timeout in 4 minutes )..

      1. Open the attached project and refresh the Maven project.
      2. Start NodeAMain and NodeBMain, wait a few seconds.
      3. Restart NodeAMain.

      Show
      Reproducing this requires two nodes, node A and node B with zeroCapacityNode set to true. Once node A and B are clustered, node A will hang on restart ( invoking org.infinispan.manager.DefaultCacheManager#getCache(java.lang.String) will result in a initial state timeout in 4 minutes ).. 1. Open the attached project and refresh the Maven project. 2. Start NodeAMain and NodeBMain, wait a few seconds. 3. Restart NodeAMain.

    Description

      If a zero capacity node is part of a running cluster and all other nodes are restarted, the nodes will hang on startup.

      "ForkJoinPool.commonPool-worker-2@11514" daemon prio=5 tid=0xa3 nid=NA waiting
        java.lang.Thread.State: WAITING
      	  at sun.misc.Unsafe.park(Unsafe.java:-1)
      	  at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
      	  at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
      	  at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
      	  at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
      	  at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:270)
      	  at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1091)
      	  at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:513)
      	  at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:693)
      	  at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:632)
      	  at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:517)
      	  at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:498)
      	  at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:491)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jokerrrr Johno Crawford (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: