mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
First cut of Hazelcast cache initialisation
need to set filesystem.cluster.enabled=true filesystem.cluster.config=c:\\temp\\hazelcastConfig.xml ALF-9966 - Locking wrong with OpLockManager and LockManager ContentDiskDriver error. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -620,7 +620,7 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
|
||||
|
||||
// Register the device context
|
||||
|
||||
registerContext(context, null);
|
||||
registerContext(context);
|
||||
|
||||
// Return the context for this shared filesystem
|
||||
|
||||
@@ -641,9 +641,9 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
|
||||
*/
|
||||
// MER TODO - transaction handling in registerContext needs changing
|
||||
@Override
|
||||
public void registerContext(DeviceContext ctx, ServerConfigurationBean serverConfig) throws DeviceContextException
|
||||
public void registerContext(DeviceContext ctx) throws DeviceContextException
|
||||
{
|
||||
super.registerContext(ctx, serverConfig);
|
||||
super.registerContext(ctx);
|
||||
|
||||
ContentContext context = (ContentContext)ctx;
|
||||
|
||||
@@ -777,9 +777,9 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
|
||||
logger.info("Locked files will be marked as offline");
|
||||
}
|
||||
|
||||
// Enable file state caching
|
||||
|
||||
context.enableStateCache(serverConfig, true);
|
||||
// // Enable file state caching
|
||||
//
|
||||
// context.enableStateCache(serverConfig, true);
|
||||
|
||||
// Install the node service monitor
|
||||
|
||||
|
Reference in New Issue
Block a user