From: <br...@us...> - 2007-02-27 21:06:15
|
Revision: 5412 http://svn.sourceforge.net/exist/?rev=5412&view=rev Author: brihaye Date: 2007-02-27 13:06:03 -0800 (Tue, 27 Feb 2007) Log Message: ----------- Reverting this morning's patch that seems to introduce deadlocks. Modified Paths: -------------- trunk/eXist/src/org/exist/xmldb/LocalCollection.java Modified: trunk/eXist/src/org/exist/xmldb/LocalCollection.java =================================================================== --- trunk/eXist/src/org/exist/xmldb/LocalCollection.java 2007-02-27 16:29:12 UTC (rev 5411) +++ trunk/eXist/src/org/exist/xmldb/LocalCollection.java 2007-02-27 21:06:03 UTC (rev 5412) @@ -584,8 +584,8 @@ throw new XMLDBException(ErrorCodes.INVALID_COLLECTION, "Collection " + path + " not found"); } // keep the lock for the transaction - if (transaction != null) - transaction.registerLock(collection.getLock(), Lock.WRITE_LOCK); + //if (transaction != null) + // transaction.registerLock(collection.getLock(), Lock.WRITE_LOCK); DocumentImpl doc = collection.getDocument(broker, resURI); if (doc == null) { transact.abort(transaction); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |