You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2012/10/19 21:54:11 UTC

[jira] [Resolved] (QPID-4379) HA does not properly handle expired messages

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

Alan Conway resolved QPID-4379.
-------------------------------

    Resolution: Fixed

The trunk is not affected by this bug, so this commit is just to add the regression test that proves it.

committed r1400199 on trunk
                
>  HA does not properly handle expired messages
> ---------------------------------------------
>
>                 Key: QPID-4379
>                 URL: https://issues.apache.org/jira/browse/QPID-4379
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Clustering
>    Affects Versions: 0.18
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> Description of problem:
> If a message expires in a queue before the HA replicator is able to browse the message, the message will be skipped and not replicated.  This results in the expired message's async completion never being finalized which can stall the original source of the expired message since it will never receive a completion.
> Oct 18 10:56:02 itcm24 qpidd[48819]: 2012-10-18 10:56:02 [Broker] debug Browser skipping message from 'QueueXyz'
> Version-Release number of selected component (if applicable):
> Qpid 0.18
> How reproducible:
> Frequently
> Steps to Reproduce:
> 1. It's a race condition between a message expiring in the queue and the HA browsing subscription being able to replicate it.
>   
> Actual results:
> The expired message is skipped and its async completion is never finalized.
> Expected results:
> While it is not truly necessary for the HA replicating subscription to replicate an expired message, the async completion needs to be finished.
> Additional info:
> see also https://bugzilla.redhat.com/show_bug.cgi?id=868360

--
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