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

ServerSuspendHandler gets stuck suspending a server already suspended if a timeout is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha6
    • 4.0.0.Alpha5
    • None
    • None
    • Hide
      1. For example, in domain mode, execute:
        :suspend-servers
      2. Once the servers are suspended, run again:
        :suspend-servers(timeout=10)

      The latest operation never ends

      Show
      For example, in domain mode, execute: :suspend-servers Once the servers are suspended, run again: :suspend-servers(timeout=10) The latest operation never ends
    • Hide

      You can do Ctlr+C to interrupt the latest suspend operation

      Show
      You can do Ctlr+C to interrupt the latest suspend operation

      ServerSuspendHandler blocks until the suspend is done receiving a notification from the SuspendController. The issue here is if the server is already suspended, there are no notifications, and then the handler blocks forever until it is interrupted. This only occurs if the suspend is used with a timeout for a server already suspended.

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: