If a deployment is undeployed while one of the slave HCs is not connected, then the deployment will not be removed from the HC's content repository.
Some notes on this are on https://issues.jboss.org/browse/WFLY-122, but I'm not certain whether that issue is identical to this one.
To reproduce (exists on EAP 6.3 ER10 and WF 8.1)
1) Start a DC and slave HC
2) Deploy an application to a server group on the slave HC
- content will be copied to the slave
3) Undeploy the application
- content will be removed from the slave
4) Deploy the app again
- content copied to the slave
5) Shut down the slave
6) Undeploy the application
7) Start the slave back up
- content is never removed
Thanks, I didn't see that one when searching. I'll mark this as a duplicate.
*** This bug has been marked as a duplicate of bug 1018026 ***
Emmanuel Hugonnet <email@example.com> updated the status of jira WFLY-122 to Coding In Progress