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

Suggestion for adding handling process for ManifoldCFException in Generic Repository Connector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • ManifoldCF 2.24
    • None
    • None

    Description

      Hi there,

      I would like to suggest the following retry-related improvements:

      1. Connector name

      Generic Repository Connector

      2. Reasons for improvement

      In the process of ExecuteSeedingThread, DocumentVersionThread and ExecuteProcessThread, when HttpClient.execute is executed, there are chances that connection gets interrupted and connection error occurs (HTTP status code <> 200).
      When HTTP status code <> 200, exception of type ManifoldCFException will be thrown. However, there is no process to handle this, which leads to job being aborted.

      As errors relating to connection (HTTP status code <> 200) can be resolved automatically, retry should be added for cases like this.

      3. Improvements

      Improvement includes the followings:

      • Adding method to handle retry for exception of type ManifoldCFException
      • Calling method to handle ManifoldCFException exception generated when executing in threads: ExecuteSeedingThread, DocumentVersionThread, ExecuteProcessThread

      4. Suggested source code (based on release 2.22.1)

      Attachments

        1. patch_update.txt
          2 kB
          Nguyen Huu Nhat
        2. patch.txt
          2 kB
          Nguyen Huu Nhat

        Activity

          People

            kwright@metacarta.com Karl Wright
            NhatNH Nguyen Huu Nhat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: