Bug 868360 - HA does not properly handle expired messages
Summary: HA does not properly handle expired messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: 2.3
: ---
Assignee: Alan Conway
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks: 698367
TreeView+ depends on / blocked
 
Reported: 2012-10-19 15:14 UTC by Jason Dillaman
Modified: 2013-03-19 16:41 UTC (History)
5 users (show)

Fixed In Version: qpid-cpp-0.18-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4379 0 None None None 2012-10-19 18:25:06 UTC

Description Jason Dillaman 2012-10-19 15:14:20 UTC
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:


Note You need to log in before you can comment on or make changes to this bug.