Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-524

Revisit how single-process deregistration and reregistration of connectors works

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 1.0
    • Fix Version/s: ManifoldCF 1.0
    • Component/s: Framework core
    • Labels:
      None

      Description

      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().

        Attachments

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              kwright@metacarta.com Karl Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: