[ 
http://jira.codehaus.org/browse/MNG-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146184#action_146184
 ] 

Christian Gruber commented on MNG-2802:
---------------------------------------

Frankly, one could mitigate this substantially by downloading artifacts into 
temporary files, then once the artifact is down with all its pieces, moving the 
temporary files into the permanent location.  There is still a race condition 
but it's down to the order of magnitude of milliseconds during the move 
operation, rather than the many seconds during downloading.

> Concurrent-safe access to local Maven repository
> ------------------------------------------------
>
>                 Key: MNG-2802
>                 URL: http://jira.codehaus.org/browse/MNG-2802
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>            Reporter: Stepan Roh
>            Assignee: John Casey
>             Fix For: 3.0
>
>
> It seems that access to local Maven repository is not concurrent-safe that is 
> multiple Mavens running in parallel may damage contents of local Maven 
> repository. It would be a nice improvement, because sharing of local 
> repository will lower the need for contacting any other repository. I know 
> that Maven proxy can be used, but that adds another layer which may 
> unnecessarily stress the machine it runs on.

-- 
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

        

Reply via email to