[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-809) Extra message created if server fails when send and ACK are synchronized

Clebert Suconic (JIRA) jira-events at jboss.com
Fri Feb 2 20:49:19 EST 2007


Extra message created if server fails when send and ACK are synchronized
------------------------------------------------------------------------

                 Key: JBMESSAGING-809
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-809
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Clebert Suconic
         Assigned To: Ovidiu Feodorov


Imagine two threads... producer/consumer...

If the server crashes when both ACK and send are still coming back from the execution (at the same time)... there is a chance of creating a message.

I have created MultiThreadFailoverTest::testFailureOnSendReceiveSynchronized for this... But I have seen testMultiThreadFailover failing ocasionally.

testFailureOnSendReceiveSynchronized poisons the server is a special way to cause the synchronization issue in a predictable way.

-- 
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