Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed uid lock may not be released in some cases

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information...
commit 9646e29c378fe415d2594f5aca7fb6f341c917b9 1 parent 36e02dc
ifedorenko ifedorenko authored
4 nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/AbstractProxyRepository.java
View
@@ -964,10 +964,12 @@ public AbstractStorageItem doCacheItem( AbstractStorageItem item )
itemLock.lock( Action.create );
- final Action action = getResultingActionOnWrite( item.getResourceStoreRequest() );
+ final Action action;
try
{
+ action = getResultingActionOnWrite( item.getResourceStoreRequest() );
+
getLocalStorage().storeItem( this, item );
removeFromNotFoundCache( item.getResourceStoreRequest() );
Please sign in to comment.
Something went wrong with that request. Please try again.