From: Scott W. <sco...@oc...> - 2007-03-30 09:59:16
|
This Very script seems to cause the corruption for me. It seems from = what I could tell the use for xmldb:store caused the nodes to have a different 'address', if you step into NodeIterator.gotoNextPosition() and look at = the different addressed from the lines if (node.getInternalAddress() !=3D StoredNode.UNKNOWN_NODE_IMPL_ADDRESS) rec =3D db.findRecord(node.getInternalAddress()); and the line below.=20 long addr =3D db.findValue(lockKey, new NodeProxy(node)); I am not sure if I am on the right track but It looked like the Node had = an 'old' address and was not updated.=20 But I believe this query does cause corruption. local:doTest will = corrupt but local:doTest2 seemed to work without corruption. I hope what I am saying is enlightening and not telling you things you already know. I hope my investigations can help someone who understands = the code better to appreciate what's going on. Regards =A0 =A0 Scott Warren Ocom Software ... Exceeding Quality..... |