activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6210) SubQueueCacheSelectorPlugin stores information on temporary queues
Date Mon, 14 Mar 2016 09:18:33 GMT

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

ASF GitHub Bot commented on AMQ-6210:
-------------------------------------

GitHub user pdudits opened a pull request:

    https://github.com/apache/activemq/pull/175

    https://issues.apache.org/jira/browse/AMQ-6210

    Do not store selector information of temporary destinations.
    
    Since the selector information is not cleared after the destination is removed, the cache
grows with every temporary destinations, and a use case where a consumer would ever reconnect
to a temporary queue for reception is hard to imagine.

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

    $ git pull https://github.com/pdudits/activemq amq-6210

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

    https://github.com/apache/activemq/pull/175.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 #175
    
----
commit 24c843774cbd8712382ec098d039d05480bb4c38
Author: Patrik Dudits <patrik@dudits.net>
Date:   2016-03-14T09:16:02Z

    https://issues.apache.org/jira/browse/AMQ-6210
    
    Do not store selector information of temporary destinations. Since the selector information
is not cleared after the
    destination is removed, the cache grows with every temporary destinations, and a use case
where a consumer
    would ever reconnect to a temporary queue for reception is extremely rare.

----


> SubQueueCacheSelectorPlugin stores information on temporary queues
> ------------------------------------------------------------------
>
>                 Key: AMQ-6210
>                 URL: https://issues.apache.org/jira/browse/AMQ-6210
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.2
>            Reporter: Patrik Dudits
>
> SubQueueCacheSelectorPlugin stores selector data on temporary destinations.
> I believe this is not necessary, as temporary destinations would cease to exist when
their creator disconnects, And the creator is also usually their consumer in request-response
scenarios.
> This leads to ever growing cache file, and since this is just persisted in-memory map,
also to unnecessary memory consumption.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message