Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
qpid-java-broker-7.0.3, qpid-java-broker-7.1.0
-
None
Description
SystemNodeRegistry of deleted VirtualHost is still referenced after virtual host node deletion. It prevents VHN/VH garbage collection. The reference to registry is hold by TrustStoreMessageSourceCreator$TrustStoreChangeListener which is registered on broker as part of invocation TrustStoreMessageSourceCreator#register.
The user impact is minimalistic as it is not expected that virtual host nodes are often created and deleted in production environment.
Broker restart should resolve the issue.
Steps to reproduce:
- create BDB HA virtual host node
- delete BDB HA virtual host node
- collect heap dump and check references to deleted virtual host node
select * from org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking