[
http://jira.jboss.com/jira/browse/JBMESSAGING-660?page=comments#action_12... ]
Ovidiu Feodorov commented on JBMESSAGING-660:
---------------------------------------------
The race condition occurs while running ConcurrentCloseStressTest (thanks, Clebert).
The root cause seems to be the fact that ChannelSupport.deliveryInternal() main while loop
doesn't synchronize access to messageRefs strongly enough, so cancellations that
arrive to the channel while looping may break the consistency and cause the chanel deliver
the same message again and again.
Trace snapshot attached.
Race Condition Between Session.close and Session.commit or
Session.rollback
---------------------------------------------------------------------------
Key: JBMESSAGING-660
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-660
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.0.1.GA
Reporter: Clebert Suconic
Assigned To: Ovidiu Feodorov
Fix For: 1.0.1.SP2
Attachments: race.log
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira