[TAV-724] T2 FileDataManager and FileBlobStore uses File.mkdirs which isn't thread-safe Created: 2008-02-15  Updated: 2008-02-19  Resolved: 2008-02-19

Status: Closed
Project: myGrid
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 1.7.1

Type: Bug Priority: Major
Reporter: Stuart Owen Assignee: Stuart Owen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File biohack2008_EvangelosPafilis.xml    


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.

Comment by Stuart Owen [ 2008-02-19 ]

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

Generated at Sat Sep 19 21:32:45 BST 2020 using JIRA 6.1.2#6157-sha1:98c729218aad6de1537eb8e98889ee5562c90d96.