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

bring online timeout is not set correctly in gfal_srmv2_bring_online_internal

    XMLWordPrintable

    Details

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

      Description

      Michails comments:

      There as some things I do not understand in gfal2 bring online impl, why are we getting from FTS3 bring online timeout and set to context timeout? This is all wrong, operation timeout and connection timeout are different from bring online timeout.
      They actually refer to sync operations so as not to get stall

      static int gfal_srmv2_bring_online_internal(srm_context_t context, gfal_srmv2_opt* opts,
              int nbfiles, const char* const* surl, time_t pintime, time_t timeout,
              char* token, size_t tsize, int async, GError** err)
      {
          struct srm_bringonline_input  input;
          struct srm_bringonline_output output;
          GError                       *tmp_err = NULL;
          gfal_srm_params_t             params = gfal_srm_params_new(opts, &tmp_err);
          int                           status = 0;
      
          memset(&output, 0, sizeof(output));
      
          if (params != NULL) {
              context->timeout      = timeout;
              context->timeout_conn = timeout;
              context->timeout_ops  = timeout;
      

        Attachments

          Activity

            People

            Assignee:
            aalvarez Alejandro Alvarez Ayllon (Inactive)
            Reporter:
            simonm Michal Kamil Simon
            Component Watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: