You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/11/04 08:55:00 UTC

[jira] [Commented] (MRESOLVER-285) File locking on Windows knows to misbehave

    [ https://issues.apache.org/jira/browse/MRESOLVER-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628795#comment-17628795 ] 

ASF GitHub Bot commented on MRESOLVER-285:
------------------------------------------

cstamas opened a new pull request, #216:
URL: https://github.com/apache/maven-resolver/pull/216

   That has concurrency issue at FS level when it comes to deletion of files.
   
   This PR adds several "tweak" flags that allow users on Windows to circumvent the issue.
   
   Related Java bug: https://bugs.openjdk.org/browse/JDK-8252883
   
   ---
   
   https://issues.apache.org/jira/browse/MRESOLVER-285




> File locking on Windows knows to misbehave
> ------------------------------------------
>
>                 Key: MRESOLVER-285
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-285
>             Project: Maven Resolver
>          Issue Type: Bug
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Maven Mvnd user reported how file locking sporadically knows to fail on Windows.
> Discussion here: [https://github.com/apache/maven-mvnd/issues/728]
> Investigated solutions:
>  * prevent "delete concurrency" [https://github.com/apache/maven-resolver/pull/211] is OK, but has a problem: leaves lock files undeleted
>  * do what Java dolks do: repeat and hope the best [https://github.com/apache/maven-resolver/pull/214] is ? (waiting for response)
>  Related links:
>  * [https://bugs.openjdk.org/browse/JDK-8252883]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)