[JBoss JIRA] Created: (ISPN-1194) Consolidate rehash and replication state retrieval code
by Manik Surtani (JIRA)
Consolidate rehash and replication state retrieval code
-------------------------------------------------------
Key: ISPN-1194
URL: https://issues.jboss.org/browse/ISPN-1194
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Cache, State transfer
Affects Versions: 5.0.0.FINAL
Reporter: Manik Surtani
Assignee: Dan Berindei
Priority: Blocker
Fix For: 5.1.0.BETA1, 5.1.0.Final
As discussed. Abstract the actual code that handles moving of state so that it can be used both for rehashing as well as state transfer for replicated caches, thereby removing dependence on JGroups' FLUSH and partial state transfer.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (ISPN-1216) Separate delimiter processing lock timeouts in state transfer
by Galder Zamarreño (JIRA)
Separate delimiter processing lock timeouts in state transfer
-------------------------------------------------------------
Key: ISPN-1216
URL: https://issues.jboss.org/browse/ISPN-1216
Project: Infinispan
Issue Type: Enhancement
Components: State transfer
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.0.0.FINAL
It appears that majority of EOFException instances encountered during state transfer are due to lock acquisition problem in the processing lock.
So, consider adding a different limiter when the processing lock timeout is encountered. This should allow the receiving end to know more about the exact problem encountered by the sender side and so could provide more hints to the user.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (ISPN-1388) Eviction scheduled executor never shutdown
by Galder Zamarreño (JIRA)
Eviction scheduled executor never shutdown
------------------------------------------
Key: ISPN-1388
URL: https://issues.jboss.org/browse/ISPN-1388
Project: Infinispan
Issue Type: Bug
Components: Eviction
Affects Versions: 5.0.1.FINAL
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Priority: Critical
Fix For: 5.1.0.ALPHA2 , 5.1.0.FINAL
Attachments: threaddump.txt
At the end of the testsuite, there're about ~900 scheduled eviction threads lying around. Is the scheduled eviction executor thread shutdown at all???
What's not very clear here is whose responsibility is to shutdown executor services. For example, take @ComponentName(ASYNC_TRANSPORT_EXECUTOR), this is injected into: CacheImpl, RpcManagerImpl, QueryInterceptor and JGroupsTransport. Who's supposed to shut it down? Right now, it's RpcManagerImpl doing it, which is a named cache component.
This opens another interesting question: Are ExecutorService components global, or per cache? Or both? For example, take ASYNC_TRANSPORT_EXECUTOR, it's injected to Transport, so must be global. But then you see RpcManagerImpl, which is a named cache component shutting it down? Surely that cannot be right.
Going back to the original concern, take KnownComponentNames.EVICTION_SCHEDULED_EXECUTOR which is used by EvictionManagerImpl, this is never shutdown by anyone, which matches what's seen in the thread dump.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (ISPN-1386) Nodes stopping can be merged without a reduced view being installed
by Galder Zamarreño (JIRA)
Nodes stopping can be merged without a reduced view being installed
-------------------------------------------------------------------
Key: ISPN-1386
URL: https://issues.jboss.org/browse/ISPN-1386
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.1.0.ALPHA2
The attached log is showing a test failure because a view is not stablished with the two remaining nodes:
{code}2011-09-14 13:01:15,124 ERROR (testng-TopologyInfoBroadcastTest) [org.infinispan.test.fwk.UnitTestTestNGListener] Method testNodeLeaves(org.infinispan.distribution.topologyaware.TopologyInfoBroadcastTest) threw an exception
java.lang.RuntimeException: Timed out before caches had complete views. Expected 2 members in each view. Views are as follows: [[TopologyInfoBroadcastTest-NodeA-20211(s0), TopologyInfoBroadcastTest-NodeB-32215(s1), TopologyInfoBroadcastTest-NodeC-36650(s2)], [TopologyInfoBroadcastTest-NodeA-20211(s0), TopologyInfoBroadcastTest-NodeB-32215(s1), TopologyInfoBroadcastTest-NodeC-36650(s2)]]
{code}
Having glanced some TRACE logs captured by Dan, it would appear that as NodeB is shutting down, TEST_PING finds it as a sole cluster member and finds another cluster formed of NodeA,NodeC, leading to a merge. This is somehow stopping a correct 2-node view being installed.
Needs further investigation
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months