cstamas commented on issue #836:
URL: https://github.com/apache/maven-mvnd/issues/836#issuecomment-3468650024

   @onetom good conclusion! 
   
   As we just realized this (similar) issue: 
https://github.com/apache/maven-resolver/issues/1641
   The problem in both cases is that locks, just as @onetom says, are scope by 
GAV only, no repo in context (as they will land on same place in local repo, 
not so for metadata but that is now unimportant).
   
   In short: if your build has 10 remote repositories (most basic builds 
usually have 1, the Central repo defined), then getting an artifact (that is 
assuming in last repository) will take 9 HTTP 404s and one HTTP 200. But, the 9 
HTTP 404 comes at cost of exclusive locking...


-- 
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