[
https://issues.redhat.com/browse/ISPN-11227?page=com.atlassian.jira.plugi...
]
Johno Crawford updated ISPN-11227:
----------------------------------
Steps to Reproduce:
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.
was: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 )..
Cluster fails to startup due to initial state transfer timing out
-----------------------------------------------------------------
Key: ISPN-11227
URL:
https://issues.redhat.com/browse/ISPN-11227
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.1.Final
Reporter: Johno Crawford
Priority: Major
Attachments: ISPN11227.zip
If a zero capacity node is part of a running cluster and all other nodes are restarted,
the nodes will hang on startup.
{code:java}
"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)
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)