[jboss-jira] [JBoss JIRA] (WFCORE-3616) SuspendStateReadHandler doesn't provide a value if the SuspendController is not installed
Brian Stansberry (JIRA)
issues at jboss.org
Fri Feb 16 18:46:00 EST 2018
Brian Stansberry created WFCORE-3616:
----------------------------------------
Summary: SuspendStateReadHandler doesn't provide a value if the SuspendController is not installed
Key: WFCORE-3616
URL: https://issues.jboss.org/browse/WFCORE-3616
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
The suspend-state attribute def says the attribute is required, but if the SuspendController service is not up it returns undefined.
This can primarily happen if the value is read while the server is shutting down, e.g. https://ci.wildfly.org/viewLog.html?buildId=90460&buildTypeId=WildFlyCore_PullRequest
Since we have graceful startup implemented, I think SUSPENDED is a correct value if the suspend controller is not present. If we're booting and the suspend controller isn't installed yet, it's suspended. And once we get to the point in shutdown where the SC is gone, it's last state was SUSPENDED.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list