I think this fixes the race under load that I discovered. More testing is

needed.  Once again this will require a new database as I've changed the AVM schema
back.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-12-23 21:33:08 +00:00
parent 4d66c70e30
commit a9461fe53b
7 changed files with 13 additions and 36 deletions

View File

@@ -687,8 +687,8 @@ public class AVMRepository
{
dstNode.setAncestor(child);
}
dstDir.putChild(dstName, dstNode);
dstDir.updateModTime();
dstDir.putChild(dstName, dstNode);
if (child == null)
{
dstNode.setAncestor(srcNode);