Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1051097 - [linearstore] Transactional messages lost during recovery
Summary: [linearstore] Transactional messages lost during recovery
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
Target Milestone: 3.0
: ---
Assignee: Kim van der Riet
QA Contact: Irina Boverman
Depends On:
Blocks: 709325
TreeView+ depends on / blocked
Reported: 2014-01-09 16:56 UTC by Kim van der Riet
Modified: 2015-01-21 12:57 UTC (History)
4 users (show)

Fixed In Version: qpid-cpp-0.22-33
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-01-21 12:57:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Apache JIRA QPID-5460 None None None Never

Description Kim van der Riet 2014-01-09 16:56:14 UTC
During recovery of the linear store, transactions that were being prepared at the time the broker stopped/crashed are not correctly recovered, and this results in these messages being lost.

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

How reproducible: Easily

Steps to Reproduce:
1. Start broker loading linearstore:
./qpidd --load-module --truncate yes
2. Run qpid-txtest against broker:
./qpid-txtest --messages-per-tx 4 --tx-count 1000000 --total-messages 100 --size 10 --queues 5
3.After several seconds of running, kill the broker:
ps -eaf | grep qpidd
kill -9 <pid from previous cmd>
4. Restart broker and recover messages (don't use --truncate)
./qpidd --load-module
5. Check for lost messages using qpid-txtest:
./qpid-txtest --messages-per-tx 4 --tx-count 1000000 --total-messages 100 --size 10 --queues 5 --check yes --init no --transfer no

Actual results:
qpid-txtest reports some messages are missing.

Expected results:
qpid-txtest retrieves all messages.

Additional info:

Comment 1 Kim van der Riet 2014-01-09 17:07:52 UTC
Upstream bug:

Comment 2 Kim van der Riet 2014-01-09 17:28:51 UTC
Fixed in r.1556892.

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