Ivo Studensky created WFCORE-5130:
-------------------------------------
Summary: (7.3.z) Expose the process state from the embed server and
controller
Key: WFCORE-5130
URL:
https://issues.redhat.com/browse/WFCORE-5130
Project: WildFly Core
Issue Type: Enhancement
Components: Embedded
Reporter: Ivo Studensky
Assignee: Yeray Borges Santana
Fix For: 12.0.0.Beta1, 12.0.0.Final
When we are starting the embedded managed server or host controller we are polling for the
process state to verify when the server or host controller are ready for the caller.
The polling is problematic to cover the case for an embedded managed host controller
started with an empty host configuration file. The polling requires a host name to poll
for its state and with an empty host configuration, we don't have such host to poll.
This situation ends up returning to the client the model controller as soon as we have
requested to start the managed host controller, that means the model controller can be
used by a client even when the host controller process state is still starting, which is
problematic. This is a rare case found in s390 machines.
The embedded managed server / host has already a reference to the process state, the
enhancement here is to expose its value so any client can check and poll based on the
current value, instead of polling by executing a management operation.
This enhancement should help Galleon to return to the caller a model controller client
that is ready to use.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)