[jboss-jira] [JBoss JIRA] (WFCORE-829) Content repo gc task can delete content in mid-upload

ehsavoie Hugonnet (JIRA) issues at jboss.org
Tue Aug 11 08:09:05 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097205#comment-13097205 ] 

ehsavoie Hugonnet commented on WFCORE-829:
------------------------------------------

It should work but should we lock the model all while the upload is in progress (being more than 5 minutes) ?
Maybe we should either upload in a temp directory or create a .lock file which would 'protect' the file from cleaning ?
Also currently the 5 minutes delay is not configurable, maybe we should make it configurable ?

> 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.3.15#6346)


More information about the jboss-jira mailing list