55489: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55002: Improved handling of deadlocks and improved test
- MNT-9517 Deadlock when binding class behaviours during bootstrap
- MNT-9462 : WebContainer threads are deadlocked
Added the LockTryException to RetryingTransactionHelper
Test was waiting 1s for lock resolution, which would have been fine if it didn't also have to include
actual dictionary/message initialization. I also changed deadlock threads so that they run with full
retrying and ensure that both threads succeed despite the deadlock. To observe, run the
MessageServiceImplTest with the following:
log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=TRACE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55486: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54914: Merged DEV to BRANCHES/DEV/V4.1-BUG-FIX:
54811: Unit test for MNT-9462 : Demonstrate deadlock between DictionaryService and MessageService
54899: MNT-9462 : WebContainer threads are deadlocked
Relies on MNT-9517 changes as well
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261