Kim van der Riet created QPID-5460:
--------------------------------------
Summary: [linearstore] Recovery of store which contains prepared
but incomplete transactions results in message loss
Key: QPID-5460
URL: https://issues.apache.org/jira/browse/QPID-5460
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Reporter: Kim van der Riet
Assignee: Kim van der Riet
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.
Steps to Reproduce:
1. Start broker loading linearstore:
{color:blue}{{./qpidd --load-module linearstore.so --truncate yes}}{color}
2. Run qpid-txtest against broker:
{color:blue}{{./qpid-txtest --messages-per-tx 4 --tx-count 1000000
--total-messages 100 --size 10 --queues 5}}{color}
3.After several seconds of running, kill the broker:
{color:blue}{{ps -eaf | grep qpidd}}
{{kill -9 <pid from previous cmd>}}{color}
4. Restart broker and recover messages (don't use --truncate)
{color:blue}{{./qpidd --load-module linearstore.so}}{color}
5. Check for lost messages using qpid-txtest:
{color:blue}{{./qpid-txtest --messages-per-tx 4 --tx-count 1000000
--total-messages 100 --size 10 --queues 5 --check yes --init no --transfer
no}}{color}
Actual results:
{{qpid-txtest}} reports some messages are missing.
Expected results:
{{qpid-txtest}} retrieves all messages.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]