myGrid

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 - 2008-02-19 12:12

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

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    2008-02-15 08:20
    Updated:
    2008-02-19 12:12
    Resolved:
    2008-02-19 12:12