[
https://jira.jboss.org/jira/browse/JGRP-821?page=com.atlassian.jira.plugi...
]
Vladimir Blagojevic resolved JGRP-821.
--------------------------------------
Resolution: Done
Resolve set:
Branch 2.7 (HEAD)
1.38 JGroups/src/org/jgroups/protocols/VERIFY_SUSPECT.java
Branch 2.6
1.32.2.2 +27 -27 JGroups/src/org/jgroups/protocols/VERIFY_SUSPECT.java
Starting VERIFY_SUSPECT timer thread causes
java.lang.IllegalThreadStateException
---------------------------------------------------------------------------------
Key: JGRP-821
URL:
https://jira.jboss.org/jira/browse/JGRP-821
Project: JGroups
Issue Type: Bug
Affects Versions: 2.6.3, 2.7
Reporter: Vladimir Blagojevic
Assignee: Vladimir Blagojevic
Fix For: 2.6.4, 2.7
I believe this is related to concurrent message processing of multiple suspect messages.
Timer needs to be started while holding a lock - we properly publish thread references as
well.
java.lang.IllegalThreadStateException
at java.lang.Thread.start(Unknown Source)
at org.jgroups.protocols.VERIFY_SUSPECT.startTimer(VERIFY_SUSPECT.java:293)
at org.jgroups.protocols.VERIFY_SUSPECT.verifySuspect(VERIFY_SUSPECT.java:240)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:122)
at org.jgroups.protocols.FD.up(FD.java:269)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:309)
at org.jgroups.protocols.MERGE2.up(MERGE2.java:144)
at org.jgroups.protocols.Discovery.up(Discovery.java:244)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1266)
at org.jgroups.protocols.TP.access$100(TP.java:49)
at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1809)
at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1788)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira