[infinispan-issues] [JBoss JIRA] (ISPN-11220) Server can leak protocol servers

Dan Berindei (Jira) issues at jboss.org
Fri Jan 24 04:20:26 EST 2020


Dan Berindei created ISPN-11220:
-----------------------------------

             Summary: Server can leak protocol servers
                 Key: ISPN-11220
                 URL: https://issues.redhat.com/browse/ISPN-11220
             Project: Infinispan
          Issue Type: Bug
          Components: Server
    Affects Versions: 10.1.1.Final
            Reporter: Dan Berindei
             Fix For: 11.0.0.Alpha1


The {{Server}} class keeps the protocol servers in a {{LinkedHashMap}} and updates the map from multiple threads, started with {{parallelStream()}}. Because {{LinkedHashMap}} is not synchronized, a server's entry may overwrite another server's entry, and the stop method won't stop the overwritten server.





--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list