Uploaded image for project: 'DMC - Development'
  1. DMC - Development
  2. DMC-448

SRM Plugin: Disable GridFTP session reuse if a castor srm endpoint is involved

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: gfal 2.7
    • Fix Version/s: gfal 2.7
    • Component/s: gfal 2
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      Implement srm ping in gfal2 (it exists in srm-ifce)

      Logic:

      if surl is srm
      ping srm://dsfad:port
      if ping fails
      session reuse false and proceed
      else if check if "backend_type:CASTOR"
      if true
      set gridtp session reuse to false
      else
      true
      else
      true

      the same for destination, if any of them is castor set gridftp session reuse to false.

      Important notes:
      -catch the exception if, for any reason, occurs, let it go through and do not stop the process since it could be transient error, we do not want the transfer to be affected. At such case (exception) set session reuse to false
      -check both lower and upper case for castor
      -do the check only and only if source or dest are srm

        Attachments

          Activity

            People

            • Assignee:
              aalvarez Alejandro Alvarez Ayllon (Inactive)
              Reporter:
              msalicho Michail Salichos (Inactive)
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: