[
https://issues.apache.org/jira/browse/ARIES-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971080#comment-16971080 ]
Arnoud Glimmerveen commented on ARIES-1941:
-------------------------------------------
In the context of my PR for this issue, I noticed two inconsistencies and have opened a new PR to fix these.
> Thread unsafe iteration of thread-safe MultiMap by TopologyManagerImport
> ------------------------------------------------------------------------
>
> Key: ARIES-1941
> URL:
https://issues.apache.org/jira/browse/ARIES-1941> Project: Aries
> Issue Type: Bug
> Components: Remote Service Admin
> Affects Versions: rsa-1.14.0
> Reporter: Arnoud Glimmerveen
> Assignee: Christian Schneider
> Priority: Major
> Fix For: rsa-1.15.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The TopologyMangerImport class uses the MultiMap (Map<String, Set<T>>). The operations on the MultiMap itself are thread safe (by means of synchronised keyword), however in some cases the Set<T> value is obtained and iterated over, without holding the right mutex. As a result you may see ConcurrentModificationExceptions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)