You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Arnoud Glimmerveen (Jira)" <ji...@apache.org> on 2019/11/09 19:17:00 UTC

[jira] [Created] (ARIES-1941) Thread unsafe iteration of thread-safe MultiMap by TopologyManagerImport

Arnoud Glimmerveen created ARIES-1941:
-----------------------------------------

             Summary: 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


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)