qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim van der Riet (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Closed: (QPID-2456) Staged transient messages do not get deleted from store
Date Thu, 15 Apr 2010 15:22:48 GMT

     [ https://issues.apache.org/jira/browse/QPID-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kim van der Riet closed QPID-2456.

    Resolution: Not A Problem

The growth of BDB log files does not indicate that the messages are not being deleted. The
log files are used to recover transactions in case of database failure. There should be a
strategy to manage these files.

Running the scenarios above, I have seen that the database itself (messages.db) remains at
approximately the size of the largest message sent. A code inspection shows that the messages
are in fact deleted.

> Staged transient messages do not get deleted from store
> -------------------------------------------------------
>                 Key: QPID-2456
>                 URL: https://issues.apache.org/jira/browse/QPID-2456
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.6
>            Reporter: Gordon Sim
> There are two cases here. In both, a store module must be loaded.
> (a) run ./src/tests/datagen --count 1 --min-size 7000000 --max-size 7000000 | ./src/tests/sender,
with no queue named test-queue defined. The message will be dropped but the staged data remains
(see the log files in .qpidd/rhm/dat) and grows each time you repeat.
> (b) with a transient queue created, (e.g. qpid-config add queue test-queue), dequeued
staged messages are likewise not deleted (./src/tests/datagen --count 1 --min-size 7000000
--max-size 7000000 | ./src/tests/sender --send-eos 1, then ./src/tests/receiver > /dev/null
and again check the growing log files)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message