You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/02 12:42:00 UTC

[jira] [Commented] (ARTEMIS-1657) Memory usage on DLQ does not decrement when messages are moved

    [ https://issues.apache.org/jira/browse/ARTEMIS-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350244#comment-16350244 ] 

ASF GitHub Bot commented on ARTEMIS-1657:
-----------------------------------------

GitHub user cshannon opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1840

    ARTEMIS-1657 - Properly decrement memory usage when moving messages

    
    When messages are retried and moved froma DLQ to the original queue the
    memory usage tracker needs to be decremented

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cshannon/activemq-artemis ARTEMIS-1657

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1840.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1840
    
----
commit 6ddccf581a9eac692dac68c418d4ce054c83cc93
Author: Christopher L. Shannon (cshannon) <ch...@...>
Date:   2018-02-02T12:39:50Z

    ARTEMIS-1657 - Properly decrement memory usage when moving messages from
    queue
    
    When messages are retried and moved froma DLQ to the original queue the
    memory usage tracker needs to be decremented

----


> Memory usage on DLQ does not decrement when messages are moved
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-1657
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1657
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Major
>             Fix For: 2.5.0
>
>
> While doing some testing I noticed that if messages that are sent to the DLQ are retried and moved back to their original queue the memory usage tracker on the DLQ does not get decremented as it should.  This is because the refRemoved() method is never called after moving the message is it should.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)