myGrid
  1. myGrid
  2. TAV-724

T2 FileDataManager and FileBlobStore uses File.mkdirs which isn't thread-safe

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: None
    • Labels:
      None

      Description

      This results in a sporadic error running the attached workflow.
      Fix is to synchronize where File.mkdirs is used.

      I have a fix that confirms this problem, but it needs tidying up before committing.

        Activity

        Hide
        Stuart Owen added a comment -

        Fixed. Moved the use of mkdirs to a FileUtil class, wrapped in a synchronised method.

        Show
        Stuart Owen added a comment - Fixed. Moved the use of mkdirs to a FileUtil class, wrapped in a synchronised method.

          People

          • Assignee:
            Stuart Owen
            Reporter:
            Stuart Owen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: