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
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
f501073de5
Added two new fields to VersionRoot (the version record), a short description,
...
and a long description. Adjusted signature of createSnapshot(), and update()
to match, and thus actions and tests that needed to be fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 23:41:55 +00:00
Britt Park
c03b967e71
Got rid of the NewInAVMStore table by folding it into the AVMNode
...
table.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 22:39:35 +00:00
Britt Park
0b58cca272
Removed RetryingTransactionHelper and friends. AVMService's transactional
...
behavior is now declaratively specified.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 06:30:05 +00:00
Britt Park
be987843f5
Properly hooked up the on close callback for output streams to AVM Nodes.
...
Got rid of a now superfluous setContentData() call, and now treat files
with no content url (yet) as having length 0.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 21:47:09 +00:00
Britt Park
db3c29b45e
Moved stuff around to be more Alfresco standard.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 00:45:48 +00:00
Britt Park
06df2021c8
This changes the AVM service to use ContentService for storage. This gives us,
...
in theory, AVM working underneath (more or less) NodeService and ContentService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-10 21:50:34 +00:00
Britt Park
beb44ec6ae
Big rearrangement of package structure to allow as many classes
...
and interfaces to be package local as possible.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-23 14:59:28 +00:00
Britt Park
60cdda3f13
Renamed a few things. What used to be SuperRepository (kind of meaning free name
...
wasn't it) is now AVMRepository. What used to be Repository is now AVMStore as it
more closely matches what is meant by a store in Alfresco. Many adjustments
in ancillary class names, references, and comments followed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-16 18:19:59 +00:00
Britt Park
a58a3c4f53
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
2006-07-08 11:37:28 +00:00
Britt Park
37843668a4
A new flavor of createFile. Slightly slower. Significantly safer.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-03 16:36:31 +00:00
Britt Park
72f2ff989d
A new concurrency test. Fixed bug in the way that paths were being handed
...
back in AVMNodeDescriptors.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-27 17:39:27 +00:00