]
Will Burns updated ISPN-11220:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
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
Assignee: Dan Berindei
Priority: Major
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.