ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-1145) metadata lock files not always deleted from cache
Date Wed, 02 Dec 2009 21:16:27 GMT

     [ https://issues.apache.org/jira/browse/IVY-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-1145.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

Thanks for reporting!
It should be ok now in trunk, could you give it a try?

Maarten

> metadata lock files not always deleted from cache
> -------------------------------------------------
>
>                 Key: IVY-1145
>                 URL: https://issues.apache.org/jira/browse/IVY-1145
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: trunk
>            Reporter: Jason Trump
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>
> DefaultRepositoryCacheManager.cacheModuleDescriptor() sometimes leaves metadata*.lck
files in the cache directory after a successful resolve.  the problem seems to only occur
when the searched artifact is actually found in the cache.
> The problem starts on DefaultRepositoryCacheManager:880, where the lock is created. 
It looks like lock / unlock should always happen in a try/finally, which doesn't happen here.
 In my case, the method returns on line 920 without ever unlocking the file.
> The issue started at revision 805346 (the most recent revision to this file).
> happy coding
> jt

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


Mime
View raw message