You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2010/03/18 20:06:27 UTC

[jira] Created: (QPID-2456) Staged transient messages do not get deleted from store

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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Closed: (QPID-2456) Staged transient messages do not get deleted from store

Posted by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org>.
     [ 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