[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-660) Race Condition Between Session.close and Session.commit or Session.rollback

Ovidiu Feodorov (JIRA) jira-events at jboss.com
Thu Nov 30 02:58:55 EST 2006


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-660?page=comments#action_12347966 ] 
            
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

        



More information about the jboss-jira mailing list