]
Adrian Nistor updated ISPN-2620:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated. Thanks!
A segment can end up in two different InboutTransferTasks
---------------------------------------------------------
Key: ISPN-2620
URL:
https://issues.jboss.org/browse/ISPN-2620
Project: Infinispan
Issue Type: Bug
Components: State transfer
Affects Versions: 5.2.0.Beta5
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 5.2.0.CR1
Attachments: cnolt.log.gz
ConcurrentNonOverlappingLeaveTest is de facto disabled because of RehashTestBase
doesn't have the @Test annotation (see ISPN-2534).
I tried to enable it, but rehash wouldn't finish because NodeA wouldn't confirm
receiving segment 38 from NodeC (the initial cluster was [NodeA, NodeB, NodeC, NodeD]). I
think this is because segment 38 appears in two InboundTransferTasks:
{noformat}
17:12:37,211 TRACE (OOB-5,ISPN,NodeA-49710:dist) [StateConsumerImpl] Segments not
received yet for cache dist: {NodeC-40582=[
InboundTransferTask{segments=[38], finishedSegments=[], unfinishedSegments=[38],
source=NodeC-40582, isCancelled=false, topologyId=7, timeout=240000, cacheName=dist},
InboundTransferTask{segments=[38, 42, 43, 40, 41, 51, 50, 49, 55, 54, 53, 52, 59, 58, 57,
56], finishedSegments=[40], unfinishedSegments=[38, 42, 43, 41, 51, 50, 49, 55, 54, 53,
52, 59, 58, 57, 56], source=NodeC-40582, isCancelled=false, topologyId=9, timeout=240000,
cacheName=dist}]}
17:12:37,211 DEBUG (OOB-5,ISPN,NodeA-49710:dist) [StateConsumerImpl] Applying new state
for segment 38 of cache dist from node NodeC-40582: received 0 cache entries
17:12:37,211 TRACE (OOB-5,ISPN,NodeA-49710:dist) [StateConsumerImpl] Segments not
received yet for cache dist: {NodeC-40582=[
InboundTransferTask{segments=[38], finishedSegments=[], unfinishedSegments=[38],
source=NodeC-40582, isCancelled=false, topologyId=7, timeout=240000, cacheName=dist},
InboundTransferTask{segments=[38, 42, 43, 40, 41, 51, 50, 49, 55, 54, 53, 52, 59, 58, 57,
56], finishedSegments=[40, 57, 38], unfinishedSegments=[42, 43, 41, 51, 50, 49, 55, 54,
53, 52, 59, 58, 56], source=NodeC-40582, isCancelled=false, topologyId=9, timeout=240000,
cacheName=dist}]}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: