Dan Berindei created ISPN-3773:
----------------------------------
Summary: State transfer thread can stop even though there are pending
transfer tasks
Key: ISPN-3773
URL:
https://issues.jboss.org/browse/ISPN-3773
Project: Infinispan
Issue Type: Bug
Components: State transfer
Affects Versions: 6.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 7.0.0.Final
Noticed in NonTxOriginatorBecomingPrimaryOwnerTest. The state transfer thread finished the
last inbound transfer task, but just before stopping another task is started. The new task
doesn't prevent the state transfer thread from stopping, and the node will never
request those segments (thus blocking the rebalance from ending).
{noformat}
15:28:31,033 TRACE (asyncTransportThread-1,NodeC:) [InboundTransferTask] Successfully
requested segments [33, 6, 7, 8, 9, 11, 13, 50, 54, 20, 52, 22, 59, 25, 24, 27, 26, 29,
28, 31] of cache ___defaultcache from node NodeA-49040
15:28:31,264 TRACE (remote-thread-1,NodeC:___defaultcache) [StateConsumerImpl] Adding
transfer from NodeA-49040 for segments [32, 5, 6, 7, 8, 10, 12, 51, 49, 19, 21, 53, 23,
59, 25, 24, 27, 26, 28, 30]
15:28:31,264 TRACE (remote-thread-1,NodeC:___defaultcache) [StateConsumerImpl] Starting
transfer thread: false
15:28:31,264 DEBUG (remote-thread-1,NodeC:___defaultcache) [StateConsumerImpl] Finished
adding inbound state transfer for segments [5, 6, 7, 8, 10, 12, 19, 21, 23, 25, 24, 27,
26, 28, 30, 32, 51, 49, 53, 59] of cache ___defaultcache
15:28:31,264 TRACE (remote-thread-1,NodeC:___defaultcache) [StateTransferLockImpl]
Signalling transaction data received for topology 41
15:28:31,264 TRACE (asyncTransportThread-1,NodeC:) [StateConsumerImpl] Stopping state
transfer thread
{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:
http://www.atlassian.com/software/jira