Britt Park
4dca69be7a
Various fiddlings with Stress test.
...
Cleaned up AVMRevertListActions.
Added AVMRevertToVersionActions which reverts to a single node to a given previous version
of that node. See class for use syntax.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-08 01:41:21 +00:00
Britt Park
60eadcf3ff
Fixed test failure.
...
Slightly tuned version of another test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-03 01:35:03 +00:00
Britt Park
a9461fe53b
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
2006-12-23 21:33:08 +00:00
Britt Park
c4ae3bd5fa
Clears up problems submitting deleted files via workflow. Still need to systematically
...
go through DeletedNode implementation to make sure it's fully first class.
Adding some debugging code that throws exceptions if it detects certain kinds of races.
It can be turned off but I want to leave it on until GA. And, you'll need to start from a clean
database as the AVM schema have changed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-21 18:19:54 +00:00
Britt Park
87b5690fc2
Some cleaning up of the AVMService and derived interfaces.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-16 18:17:18 +00:00
Britt Park
e76fc329b6
Refinements to RetryingTransactionHelper to make it equivalent to
...
executeInUserTransaction().
Changed the on close callback for write listeners to use a RetryingTransaction.
The point of this exercise is to make it possible for clients of the core server
to ignore transient resource contention failures. CIFS, for example, will be able
to take advantage of this, since a transient error condition currently results in a dead
share.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-13 17:03:44 +00:00
Britt Park
7f8c678bd5
Adjusted AVMCrawlTestPP to be more stringent now that we have retryin
...
transactions.
History is noww correctly maintained for cases of deletes followed by renames
or creates.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-12 21:09:07 +00:00
Britt Park
f80dcdd7e4
AVMNodeDescriptor now can be asked what type of deleted node it is via isDeletedFile() and
...
isDeletedDirectory().
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 17:45:36 +00:00
Britt Park
df81a1e14a
Fix for concurrency bug found last night, as best as I can tell so far.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-08 03:48:08 +00:00
Britt Park
d12551d5cc
Lookup caching is working. It's fairly heavy handed in its invalidation
...
strategy, but seems to give a 10-20% performance boost.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 16:14:22 +00:00
Britt Park
fa0bb97dc1
Rejiggered ChildEntry and its mapping, for considerably better performance. Actually
...
it was kind of a Doh! moment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-12 13:53:29 +00:00