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

Michael Osipov updated MRESOLVER-177:
-------------------------------------
    Fix Version/s: 1.6.3

> Move pre-/post-processing of metadata from ResolveTask to 
> DefaultMetadataResolver
> ---------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-177
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-177
>             Project: Maven Resolver
>          Issue Type: Task
>          Components: Resolver
>    Affects Versions: 1.6.2
>            Reporter: Michael Osipov
>            Assignee: Tamás Cservenák
>            Priority: Major
>             Fix For: 1.6.3, 1.7.0
>
>
> Using the {{ResolveTask}} on the same metadata file from multiple 
> repositories creates a race condition on {{resolver-status.properties}} 
> because no worker thread is holding a lock on that file while the parent 
> (waiting) thread holds a lock on the metadata item only.
> We don't want to introduce any synchronization in the tracking file manager 
> because it is almost always called from within a synchronized context. 
> Instead we are inlining (moving) the pre-/post-processing of metadata into 
> the caller thread and will leave the sole download (safe) handling ot the 
> {{ResolveTask}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to