[ https://issues.apache.org/jira/browse/QPID-7993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy resolved QPID-7993. ------------------------------ Resolution: Fixed Fix Version/s: qpid-java-broker-7.0.0 Lorenz and I worked together at the changes to remove subscription links on unsubscribe. The thread-safety of unsubscribe for shared durable subscriptions and 'null source lookup' for global shared durable subscriptions will be addressed separately as part of QPID-7996. Closing this JIRA. > [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 > Priority: Major > Fix For: qpid-java-broker-7.0.0 > > > 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