[jboss-jira] [JBoss JIRA] (WFCORE-829) Content repo gc task can delete content in mid-upload
Brian Stansberry (JIRA)
issues at jboss.org
Tue Sep 22 11:16:00 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111334#comment-13111334 ]
Brian Stansberry commented on WFCORE-829:
-----------------------------------------
I'm not sure how successfully running :upload-deployment-url and then seeing the content deleted 8 mins later is a reproduction of this issue, other than the fact that the deletion was in 8 mins instead of 10. Those missing 2 mins may be a clue to something though!
But you shouldn't expect content to not be gc'd if all you do is run :upload-deployment-url. All that does is put some bits on the server FS, where they are then eligible for gc if no change is made to the persistent config to reference them (i.e. a /deployment=foo:add op).
> Content repo gc task can delete content in mid-upload
> -----------------------------------------------------
>
> Key: WFCORE-829
> URL: https://issues.jboss.org/browse/WFCORE-829
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.0.Alpha10
> Reporter: Brian Stansberry
> Assignee: ehsavoie Hugonnet
>
> Description of problem:
> if upload of an application takes more than 5 minutes, it is removed from repository by clean-obsolete-content.
> - start the upload
> [Host Controller] 15:44:05,456 INFO [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014900: Content added at location /opt/jboss-eap-6.4/domain-dc/data/content/90/828120fc51e4b5f5ededbb5981198b4be93e64/content
> - After 5 minutes, the content is removed:
> [Host Controller] 15:49:32,111 INFO [org.jboss.as.repository] (Host Controller Service Threads - 33) JBAS014903: Content /opt/jboss-eap-6.4/domain-dc/data/content/90/828120fc51e4b5f5ededbb5981198b4be93e64 is obsolete and will be removed
> [Host Controller] 15:49:32,113 INFO [org.jboss.as.repository] (Host Controller Service Threads - 33) JBAS014901: Content removed from location /opt/jboss-eap-6.4/domain-dc/data/content/90/828120fc51e4b5f5ededbb5981198b4be93e64/content
> The reference for the deployment is added to domain.xml only after the upload is finished.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list