[
http://jira.jboss.com/jira/browse/JBMESSAGING-815?page=comments#action_12... ]
Tim Fox commented on JBMESSAGING-815:
-------------------------------------
To explain this issue in more detail:
If message or ack is sent and hits the server and is processed correctly, then the server
fails before the response is written back to the client, the client will get an exception
and failover will start.
When the client has failed over it will retry sending the message or ack.
For the ack this is harmless since we can just ignore acks received if we can't find
the message - the assumption here is it is already acked.
For sends this is more serious. The message might have been previously sent and acked, so
we might not find it in the queue.
To solve this properly we need duplicate message detection on the server.
Duplicate message detection is currently scheduled for 2.0
Extra message created if server fails when send and ACK are
synchronized
------------------------------------------------------------------------
Key: JBMESSAGING-815
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-815
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.0.1.SP3
Reporter: Clebert Suconic
Assigned To: Clebert Suconic
Priority: Critical
Fix For: 2.0.0 Beta 1
MultiThreadFailoverTest::testFailureOnSendReceiveSynchronized fails for this bug
This test poisons the server to wait consumer and sender to be in a same point before
crashing it.
--
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