cstamas opened a new issue, #1641:
URL: https://github.com/apache/maven-resolver/issues/1641

   ### Affected version
   
   2.0.x
   
   ### Bug description
   
   There is a lock congestion happening when prefix files are being discovered.
   
   Problem: as many repositories are in play, all will be asking for 
`.meta/prefixes.txt` metadata, and named locks does not have "context" like 
repository is (see https://github.com/apache/maven-resolver/pull/1610 )
   
   This is most visible in parallely executed Maven ITs:
   ```
   Error:  Error executing Maven.
   Error:  Could not acquire shared lock for [.meta-SLASH-prefixes.txt] using 
lock 
file:///D:/a/maven/maven/its/core-it-suite/target/user-home/.m2/repository/.locks/metadata~.meta-SLASH-prefixes.txt.lock
 in 30 SECONDS
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to