]
Dan Berindei reassigned ISPN-11220:
-----------------------------------
Fix Version/s: 10.1.2.Final
Sprint: DataGrid Sprint #39
Assignee: Dan Berindei
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: 10.1.2.Final, 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.