You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/06/22 18:23:00 UTC
[jira] [Commented] (MRESOLVER-264) Make file-lock the default locking
[ https://issues.apache.org/jira/browse/MRESOLVER-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557609#comment-17557609 ]
Michael Osipov commented on MRESOLVER-264:
------------------------------------------
I completely veto that:
* It is not battle tested
* This would be a hard requirement which is not feasible for everyone: MNG-5838
> Make file-lock the default locking
> ----------------------------------
>
> Key: MRESOLVER-264
> URL: https://issues.apache.org/jira/browse/MRESOLVER-264
> Project: Maven Resolver
> Issue Type: Task
> Components: Resolver
> Reporter: Tamás Cservenák
> Assignee: Tamás Cservenák
> Priority: Major
> Fix For: 1.8.2
>
>
> Default locking in Resolver is RW locks, that is only in-JVM (so covers the multi threaded case). Simply, if users use Maven concurrently from different terminal windows, they still can end up with corrupted local repository.
> Hence, IMHO the default should be {{{}file-lock{}}}.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)