Bug 1029440

Summary: durable messages cannot be dequeued after being paged out
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Sammons <esammons>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.0CC: esammons, iboverma, jross
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:54:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gordon Sim 2013-11-12 11:53:37 UTC
Description of problem:

The persistence id of durable messages is not included in the paging file, so durable messages paged back into memory lose that crucial information preventing successful dequeue.  

Version-Release number of selected component (if applicable):

Early Access

How reproducible:

100%

Steps to Reproduce:
1. create a durable paged queue
2. send 100,000 durable 1024 byte messages to it
3. consume all messages

Actual results:

Get an exception about the lack of persistence id

Expected results:

All messages are successfully consumed and queue is empty at the end of test
Additional info:

Comment 1 Gordon Sim 2013-11-12 11:55:00 UTC
Fixed upstream: https://svn.apache.org/r1540138

Comment 2 Valiantsina Hubeika 2014-01-31 14:13:01 UTC
checked & verified

qpid-cpp-server-0.22-33.el6
qpid-cpp-client-ssl-0.22-33.el6
qpid-cpp-server-ssl-0.22-33.el6
qpid-cpp-client-0.22-33.el6
qpid-cpp-client-devel-0.22-33.el6
qpid-cpp-server-devel-0.22-33.el6
qpid-cpp-server-xml-0.22-33.el6
qpid-cpp-server-store-0.22-33.el6
qpid-cpp-server-ha-0.22-33.el6