You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2012/09/09 15:21:07 UTC

[jira] [Commented] (CONNECTORS-524) Revisit how single-process deregistration and reregistration of connectors works

    [ https://issues.apache.org/jira/browse/CONNECTORS-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451593#comment-13451593 ] 

Karl Wright commented on CONNECTORS-524:
----------------------------------------

r1382491

                
> Revisit how single-process deregistration and reregistration of connectors works
> --------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-524
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-524
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.7
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.7
>
>
> The popularity of the single-process model has made it necessary to examine how connector deregistration and reregistration affect ManifoldCF.  In particular, when you start up ManifoldCF in single-process mode, deregistration of all connectors takes place, followed by reregistration of the ones that are now in the connectors.xml file.  Unfortunately, deregistration cleans up any database tables that belong to the connector.
> It would be better to deregister intelligently - that is, only deregister those connectors that were deleted or whose naming/data had changed.
> The place in the code where this happens is in framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java.  The method is reregisterAllConnectors().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira