From: Wolfgang M. M. <wol...@us...> - 2004-06-08 08:16:26
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/security In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29485/src/org/exist/security Modified Files: SecurityManager.java Log Message: * Resolved concurrency conflicts when accessing a collection: avoid dirty reads on the old document while it is being replaced. * The index settings specified in the configuration are now also applied to reindexed document fragments during an XUpdate. * Removed unnecessary data from org.exist.dom.DocumentImpl to reduce its in memory size. * Deferred addition of new documents to collection: when adding a large number of documents, keeping the actual document objects in memory slows down the indexing process. Class Collection now just remembers the document name, not the object itself. Index: SecurityManager.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/security/SecurityManager.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** SecurityManager.java 27 Apr 2004 15:46:59 -0000 1.18 --- SecurityManager.java 8 Jun 2004 08:16:15 -0000 1.19 *************** *** 92,96 **** sysCollection.setPermissions(0770); } ! Document acl = sysCollection.getDocument(SYSTEM + '/' + ACL_FILE); Element docElement = null; if (acl != null) --- 92,96 ---- sysCollection.setPermissions(0770); } ! Document acl = sysCollection.getDocument(broker, ACL_FILE); Element docElement = null; if (acl != null) |