From: Wolfgang M. M. <wol...@us...> - 2004-07-19 13:06:34
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25772/src/org/exist/util Modified Files: Configuration.java Log Message: Fixed another locking issue which led to dirty reads if one thread tried to read index data from elements.dbx while another thread had been updating exactly the same data pages. Index: Configuration.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/util/Configuration.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Configuration.java 14 Jul 2004 19:03:25 -0000 1.20 --- Configuration.java 19 Jul 2004 13:06:26 -0000 1.21 *************** *** 422,425 **** --- 422,429 ---- if(fragmentation != null) config.put("xupdate.fragmentation", new Integer(fragmentation)); + + String consistencyCheck = xupdate.getAttribute("enable-consistency-checks"); + if(consistencyCheck != null) + config.put("xupdate.consistency-checks", Boolean.valueOf(consistencyCheck.equals("yes"))); } } catch (SAXException e) { |