Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3616

SuspendStateReadHandler doesn't provide a value if the SuspendController is not installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.0.0.Beta2
    • None
    • Management
    • None

    Description

      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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: