04-23-2012 04:05 AM
…
<config evaluator="string-compare" condition="Replication">
…
<share-url repositoryId="remote_alfresco_ID_obtained_from_CMIS_info">http://remote_target_alfresco/share/</share-url>
…
2012-04-23 09:59:39,844 ERROR [repo.transaction.AlfrescoTransactionSupport] [defaultAsyncAction1] After completion (rolled-back) listener exception:
listener: org.alfresco.repo.transfer.TransferCommitTransactionListener@12731ffa
java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener$ReplicateOnCloseRunnable.run(ReplicatingContentStore.java:437)
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener.contentStreamClosedImpl(ReplicatingContentStore.java:420)
…
…
2012-04-23 09:59:39,849 ERROR [content.cleanup.EagerContentStoreCleaner] [defaultAsyncAction1] Content deletion failed:
URL: store://2012/4/23/9/59/32128378-02b2-40e6-889b-0c66f91b4bf9.bin
Source: org.alfresco.repo.content.replication.ReplicatingContentStore@399e2cb3
java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore.delete(ReplicatingContentStore.java:344)
at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.deleteFromStore(EagerContentStoreCleaner.java:306)
…
…
2012-04-23 09:59:40,051 ERROR [repo.action.AsynchronousActionExecutionQueueImpl] [defaultAsyncAction1] Failed to execute asynchronous action: Action[ id=ee84bb62-6d7a-4715-b87a-757f77dc0b9d, node=null ]
org.alfresco.repo.transfer.TransferFatalException: 03230004 An error has occurred while trying to commit transfer {0}
at org.alfresco.repo.transfer.AbstractManifestProcessorBase.handleException(AbstractManifestProcessorBase.java:224)
…
Caused by: java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener$ReplicateOnCloseRunnable.run(ReplicatingContentStore.java:437)
04-23-2012 05:41 AM
04-23-2012 06:15 AM
04-23-2012 06:48 AM
04-23-2012 07:10 AM
Hello,
technically, something like this would be possible with implementation, but there could be a variety of complications. For one, the version history and versionable policy is only stored on the originating node (say "1") and not transferred to the replication target. The replicated node on "2" is not versionable by default and even if you enabled versioning for it, you would end up with two distinct histories if you reverse the replication direction.
Regards
Axel
04-23-2012 07:32 AM
04-23-2012 07:38 AM
Hello,
for the most common scenario of a temporary downtime of alf1 I would advise to follow the points you've listed.
Switching the "primary node" in a replication context should only be used if it fulfills a business use case - not for purely technical reasons. It should at all times be clear which node stores the master and what nodes only manage the mirror nodes - including the additional data that accompanies the master. So as long as you do not have the functionality in place that transfers this additional data, the node on alf2 can and should only ever be a mirror.
Regards
Axel
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.