mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
16937: Merged V3.2 to V3.1 16891: Merged V2.2 to V3.1 16772: Fix unreported bugs found by new code (ArgumentHelper) 16773: AlfrescoJobExecutor thread is now a 'daemon' thread 16774: Increases sizes of 'parent assocs' and 'NodeRef-ID' caches 16775: Session L1 cache size improvements 16777: Transactional cache issues warning when it overflows 16779: Fixed ETHREEOH-2657: Performance: slow answers to directory listings 16797: Set AVM L1 Hibernate object retention to 0 16829: Read vs Write split in Session size management 16834: Build fix for SessionSizeManagementTest ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V2.2:r16772-16775,16777,16779,16797,16829,16834 Merged /alfresco/BRANCHES/V3.1:r16891 Merged /alfresco/BRANCHES/V3.2:r16937 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,6 +36,7 @@ import java.util.Set;
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.repo.cache.TransactionalCache;
|
||||
import org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor;
|
||||
import org.alfresco.repo.domain.hibernate.SessionSizeResourceManager;
|
||||
import org.alfresco.repo.node.integrity.IntegrityChecker;
|
||||
import org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcher;
|
||||
import org.alfresco.util.GUID;
|
||||
@@ -677,6 +678,10 @@ public abstract class AlfrescoTransactionSupport
|
||||
|
||||
// These are still considered part of the transaction so are executed here
|
||||
doBeforeCommit(readOnly);
|
||||
|
||||
// HACK: In order to control Hibernate's flush behaviour, we mark the point at which
|
||||
// we start read-only operations during a commit
|
||||
SessionSizeResourceManager.setCommitStarted();
|
||||
|
||||
// Check integrity
|
||||
for (IntegrityChecker integrityChecker : integrityCheckers)
|
||||
|
Reference in New Issue
Block a user