You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Martin Stenderup (JIRA)" <ji...@apache.org> on 2008/11/04 14:32:46 UTC

[jira] Commented: (IVY-654) Share cache with locking

    [ https://issues.apache.org/jira/browse/IVY-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644959#action_12644959 ] 

Martin Stenderup commented on IVY-654:
--------------------------------------

I have a suspicion that there still might be an issue with concurrency.
I get several errors like this when building multiple projects simultaneously on Hudson:
[ivy:cachepath] 		[FAILED     ] external#dom4j#trunk;1.6.1!dom4j-1.6.1.jar: impossible to move part file to definitive one: c:\build\ivy\external\dom4j\trunk\jars\dom4j-1.6.1-1.6.1.jar.part -> c:\build\ivy\external\dom4j\trunk\jars\dom4j-1.6.1-1.6.1.jar (141ms)

I am using Ivy 2.0.0-RC2 from the developers mailing list and the ivysvn (2.0.0-beta4) resolver .

I will investigate it a bit further to see if I can provide you with some more information on the issue.

> Share cache with locking
> ------------------------
>
>                 Key: IVY-654
>                 URL: https://issues.apache.org/jira/browse/IVY-654
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-beta-1
>
>
> Currently it isn't possible use the same cache from multiple processes. This is a problem in some situations, especially for build servers, which have to use one cache per process, defeating some of the purpose of the cache. Adding an option allowing to use cache locking to ensure the repository cache can be used by concurrent build would be a nice improvement.
> To avoid degrading performance of local builds where the cache is not shared, this should only be an option.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.