You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "James William Dumay (JIRA)" <ji...@codehaus.org> on 2008/07/03 16:09:27 UTC

[jira] Created: (MRM-859) Use File.createTempFile() when downloading files from a remote repository

Use File.createTempFile() when downloading files from a remote repository
-------------------------------------------------------------------------

                 Key: MRM-859
                 URL: http://jira.codehaus.org/browse/MRM-859
             Project: Archiva
          Issue Type: Improvement
            Reporter: James William Dumay


Use File.createTempFile() when downloading artifacts from a remote repository during a proxy request.

Currently when a file is downloaded it is saved in a temporary location before being moved in place. If a second request for the same artifact is made it will try and write to the same location as the first request at the same time. This causes the repository server to return an error.

This is common in use cases where Archiva is proxying a large file from a slow connecton.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (MRM-859) Use File.createTempFile() when downloading files from a remote repository

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-859 started by James William Dumay.

> Use File.createTempFile() when downloading files from a remote repository
> -------------------------------------------------------------------------
>
>                 Key: MRM-859
>                 URL: http://jira.codehaus.org/browse/MRM-859
>             Project: Archiva
>          Issue Type: Improvement
>            Reporter: James William Dumay
>            Assignee: James William Dumay
>             Fix For: 1.1
>
>
> Use File.createTempFile() when downloading artifacts from a remote repository during a proxy request.
> Currently when a file is downloaded it is saved in a temporary location before being moved in place. If a second request for the same artifact is made it will try and write to the same location as the first request at the same time. This causes the repository server to return an error.
> This is common in use cases where Archiva is proxying a large file from a slow connecton.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-859) Use File.createTempFile() when downloading files from a remote repository

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay updated MRM-859:
------------------------------------

         Assignee: James William Dumay
    Fix Version/s: 1.1

> Use File.createTempFile() when downloading files from a remote repository
> -------------------------------------------------------------------------
>
>                 Key: MRM-859
>                 URL: http://jira.codehaus.org/browse/MRM-859
>             Project: Archiva
>          Issue Type: Improvement
>            Reporter: James William Dumay
>            Assignee: James William Dumay
>             Fix For: 1.1
>
>
> Use File.createTempFile() when downloading artifacts from a remote repository during a proxy request.
> Currently when a file is downloaded it is saved in a temporary location before being moved in place. If a second request for the same artifact is made it will try and write to the same location as the first request at the same time. This causes the repository server to return an error.
> This is common in use cases where Archiva is proxying a large file from a slow connecton.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-859) Use File.createTempFile() when downloading files from a remote repository

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay closed MRM-859.
-----------------------------------

    Resolution: Fixed

Committed in r673685.

> Use File.createTempFile() when downloading files from a remote repository
> -------------------------------------------------------------------------
>
>                 Key: MRM-859
>                 URL: http://jira.codehaus.org/browse/MRM-859
>             Project: Archiva
>          Issue Type: Improvement
>            Reporter: James William Dumay
>            Assignee: James William Dumay
>             Fix For: 1.1
>
>
> Use File.createTempFile() when downloading artifacts from a remote repository during a proxy request.
> Currently when a file is downloaded it is saved in a temporary location before being moved in place. If a second request for the same artifact is made it will try and write to the same location as the first request at the same time. This causes the repository server to return an error.
> This is common in use cases where Archiva is proxying a large file from a slow connecton.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira