Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-28087

(8.0.z) WFLY-18176 - WildFly Readiness probe should check the suspended state of the server

XMLWordPrintable

      A WildFly server can be suspended at multiple points during its lifecycle (when it boots, when it is gracefully shutdown).

      WildFly provides readiness probes to determine when it is able to server user requests.

      However, it is missing a check on its suspended state to be considered "ready".

      In both the health and microprofile-smallrye-health subsystem, we should add a new readiness server probe that checks the "running-state" attribute at the root of WildFly management model. The probe should return false unless the value of the attribute is "RUNNING".

      This implies that a server whose "running-state" is  one of the other "PRE_SUSPEND", "SUSPENDING", "SUSPENDED" is not ready to server user requests.

              istudens@redhat.com Ivo Studensky
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: