Bug 1276604

Summary: [GSS] (6.4.z) Fix pontential ConcurrentModificationException when closing connections
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Vaclav Tunka <vtunka>
Component: HornetQAssignee: Vaclav Tunka <vtunka>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: high Docs Contact:
Priority: high    
Version: 6.4.5CC: bmaxwell, csuconic, msvehla, okalman, rsvoboda
Target Milestone: CR1   
Target Release: EAP 6.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 11:41:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1235745, 1247277    

Description Vaclav Tunka 2015-10-30 09:36:38 UTC
Description of problem:
org.hornetq.core.server.impl.QueueImpl#getConsumers returns the actual Set of consumers, but if another thread modifies this collection while the caller loops through the Set then a ConcurrentModificationException will be thrown. This is possible particularly in management operations that work on the Set of consumers like org.hornetq.api.core.management.HornetQServerControl#closeConsumerConnectionsForAddress.


Version-Release number of selected component (if applicable):
2.3.25.SP4

Comment 3 Ondřej Kalman 2015-11-02 14:54:06 UTC
Verified with 6.4.5.CP.CR1

Comment 4 Petr Penicka 2017-01-17 11:41:23 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 5 Petr Penicka 2017-01-17 11:42:34 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.