qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Moravec (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (QPID-5519) ACL property/properties for paged queues
Date Sun, 02 Feb 2014 14:54:08 GMT

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

Pavel Moravec closed QPID-5519.

> ACL property/properties for paged queues
> ----------------------------------------
>                 Key: QPID-5519
>                 URL: https://issues.apache.org/jira/browse/QPID-5519
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>    Affects Versions: 0.24
>            Reporter: Pavel Moravec
>            Assignee: Pavel Moravec
>            Priority: Minor
>              Labels: improvement, patch
>             Fix For: 0.27
>         Attachments: QPID-5519.patch
> Description of problem:
> QPID-4339 adds paged queue but there is no corresponding ACL rule/property limiting users
in creating paged queues. As from system management point of view, a paged queue (being backed
up by a physical file) is very similar to a durable queue.
> Therefore ACL should have property "paging=true" / "paging=false" in create queue rule.
Additionally, it has some (limited) sense to have limits for max_pages_loaded and page_factor
attributes. Those limits:
> - could limit memory usage (if the property would compare max_pages_loaded*page_factor)
> - could limit maximal message size to be successfully enqueued (page_factor) - though
I dont see a big value of such ACL limit; please provide a business justification if there
> - could _indirectly_ limit maximal size of the underlying file (that upper limit is 
 page_factor*value_of_(/proc/sys/vm/max_map_count)  ) - as max_map_count is usually high,
it is less usefull
> Version-Release number of selected component (if applicable):
> any (incl. qpid 0.26)
> How reproducible:
> 100%
> Steps to Reproduce:
> any user can run:
> qpid-config add queue my-paged-queue --argument qpid.paging=True --argument qpid.max_pages_loaded=10000
--argument qpid.page_factor=10000
> Actual results:
> Any user can create paged queue of arbitrary parameters (paged queue related).
> Expected results:
> ACL parameters could prevent so.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message