[
http://jira.jboss.com/jira/browse/JBMESSAGING-809?page=all ]
Clebert Suconic updated JBMESSAGING-809:
----------------------------------------
Assignee: Clebert Suconic (was: Ovidiu Feodorov)
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: Clebert Suconic
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