[ 
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to