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

@@ -248,8 +248,8 @@ class AVMCrawler implements Runnable
private String randomName()
{
char [] chars = new char[2];
chars[0] = (char)('a' + fRandom.nextInt(26));
chars[1] = (char)('a' + fRandom.nextInt(26));
chars[0] = (char)('a' + fRandom.nextInt(12));
chars[1] = (char)('a' + fRandom.nextInt(12));
return new String(chars);
}