Bug 1150430

Summary: [linearstore] Deleting a journal moves back to EFP all except the latest file that is deleted
Product: Red Hat Enterprise MRG Reporter: Pavel Moravec <pmoravec>
Component: qpid-cppAssignee: Kim van der Riet <kim.vdriet>
Status: CLOSED DUPLICATE QA Contact: Messaging QE <messaging-qe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 3.0CC: jross, smumford
Target Milestone: 3.2   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-13 21:35:49 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:
Embargoed:

Description Pavel Moravec 2014-10-08 09:54:02 UTC
Description of problem:
Deleting a durable queue / its journal, all _except_one_ journal queues are moved to EFP. The not-returned file is the latest one that is deleted.

This deletion is redundant and harms performance for use cases requiring frequent durable queue create&delete.


Version-Release number of selected component (if applicable):
qpid-cpp-server-linearstore 0.22-49


How reproducible:
100%


Steps to Reproduce:
0. rm -rf /var/lib/qpidd/*; service qpidd restart
1. qpid-receive -a "Durable; {create:always, delete:always, node:{durable:true}}"
2. ll /var/lib/qpidd/qls/p001/efp/*/


Actual results:
The EFP directory with empty journal files is empty.


Expected results:
The directory should contain one journal file (that was created for the Durable queue and returned back to EFP when queue deleted).


Additional info:

Comment 1 Kim van der Riet 2014-10-13 21:35:49 UTC

*** This bug has been marked as a duplicate of bug 1067429 ***