Permalink
Browse files

Prevent hang of LOCK in xquery update code of SOAP interface. Found a…

  • Loading branch information...
dizzzz committed Aug 18, 2014
1 parent 9b0db0d commit 42b43b91c453d6921c3284ddacb7581c1b072319
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/org/exist/soap/AdminSoapBindingImpl.java
@@ -369,6 +369,10 @@ public int xupdateResource(java.lang.String sessionId, XmldbURI documentName, ja
broker.flush();
}
transact.commit(transaction);
+
+ // Release lock, as reported http://markmail.org/message/pau6hoaeybg2bvch
+ doc.getUpdateLock().release(Permission.READ);
+
return (int) mods;
} catch (final ParserConfigurationException e) {
transact.abort(transaction);

0 comments on commit 42b43b9

Please sign in to comment.