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

Core: Recursive mkdir() fail when because of a race an intermediate directory is created

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • 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

      https://ggus.eu/index.php?mode=ticket_info&ticket_id=107817

      The error mentioned in the title is "file exists" basically.
      We need to exclude it from gfal2 mkdir and let the transfer go through without raising an error. Actually we need to check both

      if ( (strstr(p, "exists")) || strstr(p, "error 3006"))

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: