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

Add support for configuring JCIFS connector's resilience to SMB exceptions before throwing a ServiceInterruption

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • ManifoldCF 2.10, ManifoldCF 2.11, ManifoldCF 2.12
    • None
    • JCIFS connector
    • None

    Description

      This is a improvement request regarding the JCIFS(-ng) connector's exception handling behavior.

      After examining the JCIFS connector code, I've found that the number of retries given consecutive identical SMB exceptions and the total number of retries per file/request is hardcoded within the connector at retriesRemaining=3 and totalTries=5 respectively.

      Depending on the amount of traffic a file server regularly handles, the probability of any given SMB request failing, and correspondingly the total number of SMB request failures for a given file request will vary. As a result, the current hardcoded values may cause ManifoldCF to abandon the job in the event of high traffic.

      I would like to suggest making these values configurable, as a connector-wide setting modified via ManifoldCF's properties.xml or a per-connection setting modified via the corresponding repository connection's page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tang.huan.song Tang Huan Song
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: