Brian Stansberry created WFCORE-1223:
----------------------------------------
Summary: A java.lang.Error in Stage.DONE can lead to hangs
Key: WFCORE-1223
URL:
https://issues.jboss.org/browse/WFCORE-1223
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)