]
RH Bugzilla Integration commented on WFCORE-1014:
-------------------------------------------------
Vladimir Dosoudil <dosoudil(a)redhat.com> changed the Status of [bug
DefaultDeploymentOperations.getDeploymentsStatus doesn't consider
model operation result outcome
------------------------------------------------------------------------------------------------
Key: WFCORE-1014
URL:
https://issues.jboss.org/browse/WFCORE-1014
Project: WildFly Core
Issue Type: Bug
Affects Versions: 2.0.0.CR6
Reporter: Aaron Ogburn
Assignee: Aaron Ogburn
Fix For: 2.0.0.CR6
The deployment scanner doesn't properly consider the result outcome of its read
child operation during getDeploymentsStatus(). This has bad consequences if the operation
fails, for instance due to an OOME or possibly some other unexpected exception.
The operation catches the exception and returns an empty result. The deployment scanner
misinterprets that empty result to mean there are no applications deployed and sets
.undeployed marker files for all of them. The deployment scanner should confirm if the
operation was a success or not so we can avoid potential side effects of undeployed
applications from an OOME.