Bug 623653

Summary: resize and store_chk tools do not correctly analyze some transactional records
Product: Red Hat Enterprise MRG Reporter: Kim van der Riet <kim.vdriet>
Component: qpid-cppAssignee: Kim van der Riet <kim.vdriet>
Status: CLOSED CURRENTRELEASE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: DevelopmentCC: jross, ppecka
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-25 11:03:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kim van der Riet 2010-08-12 12:50:34 UTC
When using store_chk on a store in which records are both enqueued and dequeued under the same transaction (this occurs in the TPL), the dequeue operation is ignored, and the tool incorrectly reports that the enqueue records remain.

This is a logic error in the janal.py lib.

Comment 1 Kim van der Riet 2010-08-12 15:03:12 UTC
Fixed in r.4204

QE: This can be checked by running a transactional qpid-perftest, eg.

./qpid-perftest --summary --count 10 --qt 1 --nsubs 1 --npubs 1 --size 100 --tx 1 --durable 1

Then use store_chk to look at the TPL (in directory rhn/tpl), remembering to set the basename to "tpl", ie

./store_chk /path/to/rhm/tpl -b tpl

Before the fix, the TPL shows undequeued records. After the fix, the TPL is empty.