Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Domain Management
    • Labels:
      None

      Description

      We need to define a clear contract between these networking services and the services that use them in order to be able to perform a graceful shutdown of remote connectors.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            andy.miller Andrig Miller added a comment -

            @Brian,

            Yes, I agree with you 100%.

            Andy

            Show
            andy.miller Andrig Miller added a comment - @Brian, Yes, I agree with you 100%. Andy
            Hide
            andy.miller Andrig Miller added a comment -

            In terms of the design for this, I think one thing that has not been discussed, at least not in the JIRA, is a graceful shutdown of a server instance in a cluster.

            It would be nice, if the other server instances in the cluster were aware of the shutdown, so messages are also stopped from being replicated, and that there is not a failure scenario initiatied, as if the server instance that is being shutdown is considered a failed node.

            Also, the thought crossed my mind about a graceful shutdown of a cluster itself (an entire server group that is also clustered).

            Show
            andy.miller Andrig Miller added a comment - In terms of the design for this, I think one thing that has not been discussed, at least not in the JIRA, is a graceful shutdown of a server instance in a cluster. It would be nice, if the other server instances in the cluster were aware of the shutdown, so messages are also stopped from being replicated, and that there is not a failure scenario initiatied, as if the server instance that is being shutdown is considered a failed node. Also, the thought crossed my mind about a graceful shutdown of a cluster itself (an entire server group that is also clustered).
            Hide
            swd847 Stuart Douglas added a comment -

            My initial work on this is at
            https://github.com/stuartwdouglas/wildfly/compare/wildfly:master...stuartwdouglas:WFLY-1247

            Basically the core of it is a class called SuspendController, that manages the suspended/resumed state of the server. Subsystems can register handlers with this service that notify the controller when they are fully suspended.

            There is also a service called GlobalRequestController that is what most subsystems will actually use. Basically it registers itself with the SuspendController, and provides a simple API for entry points that deal with user requests. This controller also provides a way to limit the number of active requests running at any one time.

            This is all still very much a work in progress.

            Show
            swd847 Stuart Douglas added a comment - My initial work on this is at https://github.com/stuartwdouglas/wildfly/compare/wildfly:master...stuartwdouglas:WFLY-1247 Basically the core of it is a class called SuspendController, that manages the suspended/resumed state of the server. Subsystems can register handlers with this service that notify the controller when they are fully suspended. There is also a service called GlobalRequestController that is what most subsystems will actually use. Basically it registers itself with the SuspendController, and provides a simple API for entry points that deal with user requests. This controller also provides a way to limit the number of active requests running at any one time. This is all still very much a work in progress.
            Hide
            swd847 Stuart Douglas added a comment -

            I have done a write up of the design and implementation of this:

            https://developer.jboss.org/wiki/WildflySuspendAndResumeakaGracefulShutdown

            Show
            swd847 Stuart Douglas added a comment - I have done a write up of the design and implementation of this: https://developer.jboss.org/wiki/WildflySuspendAndResumeakaGracefulShutdown
            Hide
            jira-bugzilla-migration RH Bugzilla Integration added a comment -

            baranowb <bbaranow@redhat.com> changed the Status of bug 971679 from ASSIGNED to CLOSED

            Show
            jira-bugzilla-migration RH Bugzilla Integration added a comment - baranowb <bbaranow@redhat.com> changed the Status of bug 971679 from ASSIGNED to CLOSED

              People

              • Assignee:
                swd847 Stuart Douglas
                Reporter:
                emuckenhuber Emanuel Muckenhuber
              • Votes:
                8 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development