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

Confusing transitions of ControlledProcessState

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR12
    • 7.1.0.DR9
    • Management
    • None
    • Not Required

    Description

      Starting a server into normal mode emits these transitions for the process running state:

      • starting -> suspended -> normal

      Similarly when transitioning to admin-only mode:

      • starting -> suspended -> admin-only

      Stopping from normal mode:

      • normal -> suspending -> suspended -> stopping

      Starting into suspended mode emits:

      • starting -> stopping -> stopped
        (and the stopped state represents that the server is actually in suspended mode)

      I find it confusing that:

      • During a normal start, it transitions through a state named suspended even though the server is not suspended. this is actually correct
      • During a stop, it is even more confusing, because it goes through one extra state - suspending which doesn't occur during start. - this is actually correct
      • The state to represent a suspended server is named stopped and not suspended.

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: