]
Dan Berindei updated ISPN-9898:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
JGroupsTransport leaks channel after initial cluster size timeout
-----------------------------------------------------------------
Key: ISPN-9898
URL:
https://issues.jboss.org/browse/ISPN-9898
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.0.0.Alpha2, 9.4.5.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Fix For: 10.0.0.Beta1
{{JGroupsTransport}} fails during startup if a minimum cluster size is configured and
there are not enough nodes. Because the component is in failed, stopping the cache manager
does not invoke the stop method and the channel is leaked.
We could catch the exception in {{JGroupsTransport}} and close the channel there, but it
would be safer if {{BasicComponentRegistryImpl}} invoked the stop methods for failed
components as well.