mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Minor tweaks to the crawler test. Added a flush needed under still obscure
high stress situations to prevent a duplicate key violation, in PlainDirectoryNodeImpl. This only makes sense if somehow the second level cache is getting out of whack. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -721,10 +721,10 @@ class SuperRepository
|
||||
{
|
||||
throw new AVMNotFoundException("Repository not found: " + name);
|
||||
}
|
||||
if (write && !rep.getRoot().getIsNew())
|
||||
{
|
||||
fSession.get().lock(rep, LockMode.UPGRADE);
|
||||
}
|
||||
// if (write && !rep.getRoot().getIsNew())
|
||||
// {
|
||||
// fSession.get().lock(rep, LockMode.UPGRADE);
|
||||
// }
|
||||
return rep;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user