[jboss-jira] [JBoss JIRA] (WFCORE-1134) A java.lang.Error in Stage.DONE can lead to hangs

Brian Stansberry (JIRA) issues at jboss.org
Mon Nov 16 16:41:00 EST 2015


Brian Stansberry created WFCORE-1134:
----------------------------------------

             Summary: A java.lang.Error in Stage.DONE can lead to hangs
                 Key: WFCORE-1134
                 URL: https://issues.jboss.org/browse/WFCORE-1134
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.0.1.Final
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 3.0.0.Alpha1


As part of investigating https://bugzilla.redhat.com/show_bug.cgi?id=1259767 I've looked into general handling of situations when java.lang.Error is thrown during management operation execution.

Handling prior to Stage.DONE looks ok, with the error caught, logged and the failure-description on the response set. But if the error happens after commit or during rollback, it isn't always properly triggering a response. In the intra-domain case the remote node that has the problem tries to send a failure response to the calling HC, but uses the wrong request id, resulting in that response being dropped and the calling HC continuing to wait.

A post-commit Error seems pretty unlikely. A rollback error seems more possible, as a rollback may involve installing significant numbers of services.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list