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

Alex Rudyy updated QPID-7993:
-----------------------------
    Description: 
Only link with name equals to subscription name is deleted from the link 
registry on unsubscribe of shared durable subscription. The other shared 
durable subscription links with names containing index are left in link 
registry forever. As result, such links can accumulate with time and cause OOM. 

The steps to reproduce
* Apply patch from QPID-7992
* Start the Broker
* Create shared durable subscriptions with 2 subscribers
* Close subscribers and unsubscribe the subscription
* Dump the link registry state using management operation 
{{QueueManagingVirtualHost#dumpLinkRegistry}} . The link for the second shared 
subscriber will be present in the dumped data

  was:
Only link with name equals to subscription name is deleted from the link 
registry on unsubscribe of shared durable subscription. The other shared 
durable subscription links with names containing index are left in link 
registry forever. As result, such links can accumulate with time and cause OOM. 

The steps to reproduce
* Apply patch from QPID-799
* Start the Broker
* Create shared durable subscriptions with 2 subscribers
* Close subscribers and unsubscribe the subscription
* Dump the link registry state using management operation 
{{QueueManagingVirtualHost#dumpLinkRegistry}} . The link for the second shared 
subscriber will be present in the dumped data


> [Broker-J] Links for shared durable subscribers are accumulated in the link 
> registry
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-7993
>                 URL: https://issues.apache.org/jira/browse/QPID-7993
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-broker-7.0.0
>            Reporter: Alex Rudyy
>
> Only link with name equals to subscription name is deleted from the link 
> registry on unsubscribe of shared durable subscription. The other shared 
> durable subscription links with names containing index are left in link 
> registry forever. As result, such links can accumulate with time and cause 
> OOM. 
> The steps to reproduce
> * Apply patch from QPID-7992
> * Start the Broker
> * Create shared durable subscriptions with 2 subscribers
> * Close subscribers and unsubscribe the subscription
> * Dump the link registry state using management operation 
> {{QueueManagingVirtualHost#dumpLinkRegistry}} . The link for the second 
> shared subscriber will be present in the dumped data



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to