[jboss-jira] [JBoss JIRA] (WFLY-122) Clean unreferenced deployments from the content repository
Claudio Miranda (JIRA)
issues at jboss.org
Sun Sep 7 23:33:00 EDT 2014
[ https://issues.jboss.org/browse/WFLY-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999685#comment-12999685 ]
Claudio Miranda commented on WFLY-122:
--------------------------------------
What about cleaning data/content/<hash> on startup ? Check the list of deployments in domain.xml/standalone.xml and remove those unlisted.
> Clean unreferenced deployments from the content repository
> ----------------------------------------------------------
>
> Key: WFLY-122
> URL: https://issues.jboss.org/browse/WFLY-122
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Fix For: 9.0.0.CR1
>
>
> The algorithm for removing unused deployments from the content repository is based on doing this as part of undeploy operation execution. This doesn't cover cases where the content is never explicitly undeployed. For example:
> 1) Scanner content that is updated when the server is offline; the old content will not have been "undeployed" during shutdown, and on startup the new content will be installed.
> 2) Similar issues with deployments generated from module resources (see "A Mixed Approach on https://community.jboss.org/wiki/ExtendingAS7). When the server shuts down, there is no "subsystem remove" as part of shutdown, so the content added during start will not be removed.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list