You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2013/01/18 23:34:12 UTC

[jira] [Commented] (QPID-4541) Messages are replayed after XA commit in a failover scenario

    [ https://issues.apache.org/jira/browse/QPID-4541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557694#comment-13557694 ] 

Rajith Attapattu commented on QPID-4541:
----------------------------------------

The XA Session is using AUTO_ACK mode hence by default messages replayed when the session is recreated.
The solution to this is to allow message replay to be turned on/off using a boolean flag when creating a session.

This solution could be useful outside of the context of this bug as in some cases the client will not worry about message loss, hence does not need to keep messages in it's replay buffer which can have an affect on memory consumption and eventually slowing down the client.
                
> Messages are replayed after XA commit in a failover scenario
> ------------------------------------------------------------
>
>                 Key: QPID-4541
>                 URL: https://issues.apache.org/jira/browse/QPID-4541
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JCA
>    Affects Versions: Future
>         Environment: All supported OS platforms, all supported JEE platforms
>            Reporter: Weston M. Price
>            Assignee: Rajith Attapattu
>
> Currently we are seeing an issue in failover scenarios where messages that are received and the XA transaction completes are replayed on the nth node of a cluster when failover is invoked. This appears to be similar to QPID-2294 in the violation of transaction atomicity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org