]
Radoslav Husar updated ISPN-12368:
----------------------------------
Affects Version/s: 12.0.0.Dev04
11.0.3.Final
ServerRunMode.FORKED always leaks running server processes when
cluster shutdown fails
--------------------------------------------------------------------------------------
Key: ISPN-12368
URL:
https://issues.redhat.com/browse/ISPN-12368
Project: Infinispan
Issue Type: Bug
Affects Versions: 11.0.3.Final, 12.0.0.Dev04
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Major
See WFLY-13897 for the 'reproducer' in WildFly.
This is due to a couple of things:
1. Obtaining PID in JDK8 is not implemented.
2. Obtaining PID is broken in higher JDKs due to ISPN-12366.
3. The obtained PID is wrong anyway, because its the PID of the parent shell process, not
the child server process.
4. The kill command usage is incorrect and fails anyway.
The fix is to assign random UUID to a server process and filter properly.