activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2590) Transaction commit/rollback through failover should throw TransactionRolledBackException if recovery redelivery dispatches another consumer
Date Mon, 01 Feb 2010 22:44:32 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully resolved AMQ-2590.
-----------------------------

    Resolution: Fixed

resolved in r905432


> Transaction commit/rollback through failover should throw TransactionRolledBackException
if recovery redelivery dispatches another consumer
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2590
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2590
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>
> Given an outstanding consumer transaction and failover transport recovery. On recovery,
messages are redispatched by the broker once the connection, sessions and producers/consumers
and transactions are replayed. Redispatch may not dispatch the same messages to the same consumers
atm. In the case that a client transaction cannot be recreated it should fail with a TransactionRolledBackException.
The failure indicates that the messages the session wants to ack have not again been redispatched
so their receipt cannot be committed. The messages in question will have been redelivered
to another consumer. 
> Likewise in a rollback, in this case there is a warn message to the effect that the rolled
back messages may not all be included in the rollback. It that they may not have been redispatched.
The unordered redelivery semantics after a session rollback ensure that this error does not
need to propagate up to the client.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message