From c91ced447892091a33e2292b58c1e2a6b6c0baa2 Mon Sep 17 00:00:00 2001 From: Raluca Munteanu Date: Fri, 26 Feb 2021 16:58:33 +0200 Subject: [PATCH 1/2] APPS-755: [CLUSTER] File as record fails intermittently in cluster --- .../org_alfresco_module_rm/rm-ui-evaluators-context.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-ui-evaluators-context.xml b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-ui-evaluators-context.xml index 98a482a712..866ee4c2cc 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-ui-evaluators-context.xml +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-ui-evaluators-context.xml @@ -4,7 +4,9 @@ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - + + + Date: Mon, 1 Mar 2021 12:42:50 +0200 Subject: [PATCH 2/2] APPS-755: [CLUSTER] File as record fails intermittently in cluster - Moved jsonConverterComponent cluster cache properties to community --- .../alfresco-global.properties | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/alfresco-global.properties b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/alfresco-global.properties index ed98383145..8bdd9b15e6 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/alfresco-global.properties +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/alfresco-global.properties @@ -28,6 +28,23 @@ audit.rm.viewLog.maxSize=100 cache.writersSharedCache.maxItems=10000 cache.writersSharedCache.cluster.type=fully-distributed +# +#A cache for the json Conversion Component cache +# +cache.jsonConversionComponentCache.cluster.type=fully-distributed +cache.jsonConversionComponentCache.tx.maxItems=50 +cache.jsonConversionComponentCache.tx.statsEnabled=${caches.tx.statsEnabled} +cache.jsonConversionComponentCache.maxItems=0 +cache.jsonConversionComponentCache.timeToLiveSeconds=0 +cache.jsonConversionComponentCache.maxIdleSeconds=0 +cache.jsonConversionComponentCache.backup-count=1 +cache.jsonConversionComponentCache.eviction-policy=NONE +cache.jsonConversionComponentCache.merge-policy=com.hazelcast.map.merge.PutIfAbsentMapMergePolicy +cache.jsonConversionComponentCache.nearCache.maxSize=50 +cache.jsonConversionComponentCache.nearCache.maxIdleSeconds=0 +cache.jsonConversionComponentCache.nearCache.timeToLiveSeconds=0 +cache.jsonConversionComponentCache.readBackupData=false + # # Indicates whether RM rules will be run as Admin or not by default #